Subprocedure name from expression doesn't work using DEBUG
Minor
Closed - Fixed
Found:XS.01.12 13 AUG 2009
Fixed:XS.01.13 13 AUG 2009
DETAILS
PQL gets confused during execution when debug is on and a subprocedure is
executed by
way of an expression for the subprocedure name.
The example gives
Missing subprocedure definition. (Error 730 - SP1)
When run.
EXAMPLE PROGRAM
program debug
c
. execute subprocedure ["SP"+"1"]
c
subprocedure sp1 | sp1
. write "SP1"
end subprocedure
c
end program
WORKAROUND
Remove the debug option or run using the gui debugger.
It will also work if the subprocedure is within a subroutine.