07-08-2009, 07:33 AM
Example with setstruct/getstruct.
This is better to use when you run the exe from qm but cannot use mac.
Function Function132
Macro
----------------
When not from QM.
Function Function133
Macro
This is better to use when you run the exe from qm but cannot use mac.
Function Function132
;/exe
type ZUU str'a b
ZUU z
_s=_command
_s.setstruct(z); err mes- "incorrect command line"
mes _s.format("''%s'', %i" z.a z.b)
Macro
----------------
When not from QM.
Function Function133
;/exe
type ZU str'Aa b double'c str'd
ZU z
_s=_command
_s.setstruct(z 3); err mes- "incorrect command line"
mes _s.format("''%s'', %f, ''%s''" z.Aa z.c z.d)
Macro