Buffer Manipulation Functions
buf_handle=sys_bufuse()
sys_bufrls(buf_handle)
sys_bufcopy(buf_dest,buf_source)
sys_bufmove(buf_dest,dest_offs,buf_source,source_offs,num_bytes)
sys_bufset(buf_handle,offs,string)
sys_bufget(buf_handle,offs {,num_bytes})
File Handle Functions
file_handle=sys_fhopen(filename,flags)
sys_fhclose(file_handle);
sys_fhseek(file_handle,offset,fromwhere)
sys_fhreadbuf(file_handle,buf_handle,bytes)
string=sys_fhgetline(fil_handle)
sys_fhwritebuf(fil_handle,buf_handle,bytes)
sys_fheof(fil_handle)
sys_fhputline(fil_handle,string)
sys_fhlock(fil_handle,offset,bytes)
sys_fhunlock(fil_handle,offset)
sys_fhwrites(file_handle,string)
sys_fhsetsize(fil_handle,size)
hex_handle=sys_gethandle(file_handle)
File System Functions
sys_fcopy(source_filename,dest_filenname)
sys_fdelete(filename)
sys_finfo(filename,infotype)
sys_frename(source_filename,new_filename)
sys_dirmake(dir_name)
sys_dirremove(dir_name)
sys_dirfirst(path,attributes)
sys_dirend()
Date and Time Functions
{YY}YYMMDD=sys_date({long_format_flag})
HHMMSS=sys_time()
ticks=sys_ticks(bios_or_ms_flag)
secs=sys_tmrsecs()
{YY}YYMMDDHHMMSS=sys_timeadd({YY}YYMMDD,HHMMSS,secs)
{YY}YYMMDDHHMMSS=sys_timesub({YY}YYMMDD,HHMMSS,secs)
{YY}YYMMDD=sys_dateadd({YY}YYMMDD,days)
sys_settime({YY}YYMMDD,HHMMSS)
day=sys_datecvt({YY}YYMMDD,convert_type)
Operating System Functions
sys_exit(exit_value)
sys_getenv(variable_name)