Minor buglet: Compiler doesn't like global variables with apostrophes/single-quotes in their name | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Minor buglet: Compiler doesn't like global variables with apostrophes/single-quotes in their name
June 25, 2016
3:27 pm
Avatar
scottj
Member
Forum Posts: 28
Member Since:
April 17, 2016
sp_UserOfflineSmall Offline

I changed the label of a global variable to one with an apostrophe (single quote) in its name, and compilation started to fail.  

The error list suggested that a terminator character was missing.  My guess is that the single-quote is used as a formatter in the compiler's parsing.  

In any case, removing the offending single-quote allowed the compilation to succeed.  The issue may extend to labels for controls, indicators, etc.-- I haven't tested.  But if your compilation is failing for mysterious reasons, check that you're not using a potentially reserved character in some label somewhere.  

Forum Timezone: UTC 0

Most Users Ever Online: 33

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

John: 18

RTSLVU: 15

Dan6077: 11

Member Stats:

Guest Posters: 0

Members: 80

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 2

Topics: 58

Posts: 289

Newest Members: Geraldkix, ThomasSoogs, Angelvor, AngelaMuh, Nsneilohone

Administrators: geadmin: 5, filipealtoe: 35, Steffan: 89