2021-07-05 08:16 AM
Solved! Go to Solution.
2021-07-05 01:37 PM
2021-07-05 08:37 AM
2021-07-05 09:13 AM
2021-07-05 01:37 PM
2021-07-05 02:09 PM
r=REQUEST('MacroName', 'NameOfMacro.gsm', something) IF r THEN CALL 'NameOfMacro.gsm' ELSE PRINT 'Macro not find. Please check your libraries' ENDIF
2021-07-05 04:18 PM
Podolsky wrote:Big +1. This would help a lot, also in other situations, where you'd rather like a soft-fail, than the complete surrender
GS could introduce some new request, something like:
2021-07-05 04:27 PM
2021-07-05 05:35 PM
EXTERNAL FILE DEPENDENCEBut yes. A printed message (like the good old ones) would be nice.
FILE_DEPENDENCE
FILE_DEPENDENCE "name1" [, "name2", ...]
You can give a list of external files on which your GDL script depends on. File names should be constant strings.
All files specified here will be included in the archive project (like constant macro names used in CALL statements and constant picture names
used in various GDL commands). The command works on this level only: if the specified files are library parts, their called macro files will
not be included.
The command can be useful in cases when external files are referenced at custom places in the GDL script, for example: ADDITIONAL_DATA
file parameters, data files in file operations.
2021-07-05 05:47 PM