Missing asterisk not caught by compiler

From Liberty BASIC Family
Jump to navigation Jump to search

Description

If you miss a * multiplication command ahead of a bracketed expression the leading number is ignored. Folks new to BASIC with a maths background may well code such expressions which should be caught by the compiler.

Example code to demonstrate the bug.

print 5(3+3)

Example code to work around the bug.

print 5*(3+3)