U
user13093022
Guest
Is there a way to access a variable from the main block if I am in an internal procedure and the internal procedure defines a variable with the same name?
For example:
Continue reading...
For example:
Code:
define variable myVariable as integer no-undo.
procedure myProcedure1:
message "myProcedure1:" myVariable.
end.
procedure myProcedure2:
define variable myVariable as integer no-undo.
message "myProcedure2:" myVariable.
end.
myVariable = 123.
run myProcedure1.
run myProcedure2.
Continue reading...