Parent Previous Next


Creates a new VM by loading the compiled bytecode. Returns a unique identity number of the VM.


 @VMCreate(String asmByteCode) : Integer



The parameter asmByteCode can accept a redirection to a Compilation Unit File (CUF) written as "FILE=full_path_to_CUF". Using a redirection to a CUF can be desirable during development and test - in order to avoid repeating copy and paste operations of the bytecode on every compilation. Compiling to a CUF is specified in the project properties.


 Function SpecialLoadWhileTesting() : Integer


   Integer vm;

   String asmByteCode := "FILE=c:\test\myCUF.txt";

   vm := @VMCreate(asmByteCode);

   Return vm;