PB Trivia - Parentheses are not allowed in string operations
Posted: Sun Aug 19, 2012 5:56 pm
The PB parenthesis limitation may be defined as a feature however I expected balanced outer parentheses to just be discarded.
Code: Select all
S1$ = " String1 "
S2$ = " String2 "
S3$ = (S2$) ; This works with unnecessary outer parentheses.
Debug S1$ + "Plus" + S2$ ; This works.
Debug S1$ + "Plus" + (S2$) ; This fails: "Parenthesis '(' are not allowed in string operations."