Project

General

Profile

Bug #161

Syntax error when adding to strings. # DIRECTLY RELATED TO BUG 144

Added by David Baldwin about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
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$

Also available in: Atom PDF