RUN Command
Posted: Sun Jan 29, 2023 1:55 pm
Hello
Using XVIDE the RUN Command will not work, code example;
METHOD ShowOpenReportEditor() AS VOID
//Purpose.......: Open report RP editor.
//Notes.........:
RUN ReportEditor.exe
RETURN
Error returned;
error XS0103: The name 'RUN' does not exist in the current context
There is a note in the Xsharp help file;
Note This command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available.
I have not checked 'Ignore XSharpDefs.vh' in XVIDE, but I cannot see the RUN command in the header file? Should another reference be included?
Probably doing something wrong?
Neale
Using XVIDE the RUN Command will not work, code example;
METHOD ShowOpenReportEditor() AS VOID
//Purpose.......: Open report RP editor.
//Notes.........:
RUN ReportEditor.exe
RETURN
Error returned;
error XS0103: The name 'RUN' does not exist in the current context
There is a note in the Xsharp help file;
Note This command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available.
I have not checked 'Ignore XSharpDefs.vh' in XVIDE, but I cannot see the RUN command in the header file? Should another reference be included?
Probably doing something wrong?
Neale