How to identify the current running mode of a progress program

jchellap

Member
Hi all,

Version QAD SE.

We are running a same program in .Net mode and character user mode. I want to identify currently in which mode it is running . Is there any condition like c-application = 'web' so I can get the mode where it is running. Please help.
 
Last edited:
Use this .i for identification of modes in your code.
if {gpiswrap.i} then do:
/*Desktop only code*/
end.
else do:
/*CHUI only code*/
end.
 
Top