The syscall Statement
The syscall statement enables execution of various system functions via a constant function ID and an aggregate type variable for passing arguments to and from the system function. The syntax of the syscall statement is shown below.
// ptArgs is a struct with input and output args syscall SoundPlayTone, ptArgs
Valid syscall statement function IDs are listed in the System Call function constants section.