Code: Select all
Structure mystruct
anitem.l
endstructure
procedure dosomething1 ( temp.mystruct )
endprocedure
procedure dosomething2 ( *temp.mustruct )
temp\anitem = temp\anitem + 1
endprocedure
and the second gives me the error: This variable doesnt have a 'structure'
Could somebody explain how to pass a structure to a function properly.