Creating Character Expressions

JavaScript Editor js editor     Web development 



Main Page

Compose character expressions by combining character operators with the following Visual FoxPro elements:

  • Character fields.

  • Functions that return character values.

  • Variables and array elements that contain character data.

  • Character constants, called string literals.

You can embed quotation marks ("" or '') in a character string by enclosing the character string within square brackets ([]):

В Copy Code
STORE [Robert's Diner] TO cCompanyName
STORE [See the "Sunday Special"] TO cBanner

You can also embed quotation marks by enclosing the character string with quotation marks of the alternate type:

В Copy Code
STORE "Robert's Diner" TO cCompanyName
STORE 'See the "Sunday Special"' TO cBanner

For more information, see STORE Command.

See Also



JavaScript Editor js editor     Web development