I get the error “The source file to be loaded contains RAPID syntax errors” when trying to execute the following code:
The file “rit.prg” contains the code:
MODULE rit
PROC Main()
LOAD Dynamic,“C:/folder/test.prg”;
%“test:callme”%;
UNLOAD “C:/folder/test.prg”;
ENDPROC
ENDMODULE
The file “test.prg” contains the code:
MODULE test
PROC callme()
TPWrite “Hello”;
ENDPROC
ENDMODULE
The two files are in the same directory.
Does anyone have an idea of what’s wrong?