Difference between revisions of "SET STRCONVERT"
From Lianjapedia
Barrymavin (Talk | contribs) |
Barrymavin (Talk | contribs) |
||
Line 26: | Line 26: | ||
[[Category:VFP Command Extensions]] | [[Category:VFP Command Extensions]] | ||
[[Category:Lianja SQL]] | [[Category:Lianja SQL]] | ||
+ | [[Category:Databases]] |
Latest revision as of 01:02, 15 December 2017
Contents
Purpose
Determines whether non-string expressions are automatically converted when added to strings
Syntax
SET STRCONVERT ON | OFF | (<expL>)
See Also
DTOC(), DTOS(), ECHO, ETOS(), LTOS(), SET STRICT, STR()
Description
If SET STRCONVERT is ON, non-string expressions are automatically converted as they are added to a string. If SET STRCONVERT is OFF, expressions must be converted manually using the ETOS() or other data conversion functions. By default, STRCONVERT is OFF.
Example
set strconvert on ? "This string can add numerics and dates etc. " + 100.89 + " " + date() set strconvert off ? "This string can add numerics and dates etc. " + str(100.89,6,2) + " " + etos(date())