I tried to create a procedure as follows but the compiler complains of a syntax error. I am assuming that it does not like the @gParam as the default value for the second parameter but it should be a constant expression to my mind.
Code: Select all
Structure Param
value1.s
value2.i
EndStructure
Global gParam.Param
Procedure Mytest(test1.s,*test.param = @gParam)
*test\Value1 = test1
debug *test\Value1
EndProcedure