Open topic with navigation
WTSupported in traditional Synergy on Windows
USupported on UNIX
VSupported on OpenVMS
run = %SYN_DEBUG[(compile)]
1 if the program is running in debug mode or 0 if it’s not.
(optional) Set to 1 if the current routine was compiled in debug mode or 0 if it was not.
%SYN_DEBUG identifies if a program is running in debug mode at runtime without having to translate the command line.
The following example returns a 1 (in run_mode) if the program is running in debug mode. Compile_mode is set to 1 if the current routine was compiled in debug mode.
run_mode = %SYN_DEBUG(compile_mode)