This is an amusing little run time bug. The code shows two uses of a sub call.
The first is executed, the second identical call causes an error saying that only regular variables can be passed.
Hmm. That would be same parameter which was seen as a regular variable in the first call then? Ho Ho!
Even if there is some restriction on where such subs may be used, which there shouldn't be (an expression is an expression is an expression), that would be completely the wrong error report.
The first is executed, the second identical call causes an error saying that only regular variables can be passed.
Hmm. That would be same parameter which was seen as a regular variable in the first call then? Ho Ho!
Even if there is some restriction on where such subs may be used, which there shouldn't be (an expression is an expression is an expression), that would be completely the wrong error report.