Modify

#3045 closed Feature Request (Rejected)

String constants: ' and "

Reported by: c.haslam Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

In Language reference > Variables, I do not find the use of ' and " delimiters explained.

I suggest:

A string constant is delimited by a pair of ' (single quote marks) and " (double quote marks). If you code ' before a string constant, terminate with ' -- and if you code " before a string constant, terminate with ".

This makes it easy to include the other kind of quote mark in the constant. For example, "It's a rainy day"'

Attachments (0)

Change History (3)

comment:1 by TicketCleanup, on Jun 8, 2015 at 6:00:01 PM

Version: 3.3.13.20

Automatic ticket cleanup.

comment:2 by jchd18, on Jun 8, 2015 at 6:16:47 PM

This is exposed under Datatypes -> Strings.

comment:3 by BrewManNH, on Jun 9, 2015 at 2:43:53 AM

Resolution: Rejected
Status: newclosed

As explained above, this is already referenced in the help file. As this isn't variable related, it wouldn't be something that should be included in the variable reference section.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.