Error in CALL syntax checking
Jump to navigation
Jump to search
Description
When using the CALL statement to call a subroutine, LB does not properly check for extra commas. While this does not appear to adversely affect the program, it may cause errors in the future and should be fixed.
Example code to demonstrate the bug.
Call routine, "Hello ", "World!!", Sub routine var1$, var2$ Print var1$ + var2$ End Sub
Example code to work around the bug.
'Just remove the extra comma from the CALL statement. Call routine "Hello", "World!!"