e.g.
Code: Select all
CONST
QuotedString = 022X + "String" + 022X;
Code: Select all
CONST
Quotes = 022X;
QuotedString = Quotes + "String" + Quotes;
Code: Select all
CONST
UnixNewLine = 0AX;
DOSNewLine = 0DX + 0AX;
Code: Select all
CONST
QuotedString = 022X + "String" + 022X;
Code: Select all
CONST
Quotes = 022X;
QuotedString = Quotes + "String" + Quotes;
Code: Select all
CONST
UnixNewLine = 0AX;
DOSNewLine = 0DX + 0AX;
No - that is a separate issue. The concatenated CONST string would be limited to 60 characters unless the limit was also increased.4GlCoder wrote:Does this influence the current 60 character limitation?
This is currently documented as a compiler restriction. Only INTEGERs can be used in an expression in CONST declarations. It may be relaxed in the future.4GlCoder wrote: I opt for more consistent rules: e.g.:
CONST
Pi =3.14159268;
twoPi = 2*Pi;
This should not give compiler errors
The maximum length of a string constant has been increased to 256 characters (including the terminating null) in the v5.2 releases of Astrobe.4GlCoder wrote:Does this influence the current 60 character limitation?