I've noticed before, that some PowerBASIC statements allow expressions, but some require variables.
For example, the RegRepl requires a variable/value for iEnd.
This fails:
Is there a general reason why PowerBASIC statements differ on this requirement?
For example, the RegRepl requires a variable/value for iEnd.
Code:
RegRepl "[ ]+" In temp$ With " " At 1 To iEnd, tmp$
Code:
RegRepl "[ ]+" In temp$ With " " At 1 To Len(temp$), tmp$
Comment