Bug #161
Syntax error when adding to strings. # DIRECTLY RELATED TO BUG 144
Start date:
02/08/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Example code:-
#Manifest:"pc"
A$=Str$(40)-" "
C$="Anim 0,(21,"+A$+")(22,"+A$+")(23,"+A$+")" // Causes Syntax error at + after last A$
Print C$
If another character is added in parentheses ie: ");" like this, syntax error no longer occurs
#Manifest:"pc"
A$=Str$(40)-" "
C$="Anim 0,(21,"+A$+")(22,"+A$+")(23,"+A$+");" // No error
Print C$
Updated by Francois Lionet about 4 years ago
- Status changed from New to Feedback
Cannot reproduce, please provide example...
Updated by David Baldwin about 4 years ago
I think you fixed this for the version 0.9.5 test, and didn't update it on here, as it seems to be working now. Also, was probably just the ")" bug that someone else reported.