Partilhar via


Character Expression Creation

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(" and ') in a character string by enclosing the character string within square brackets ([ ]):

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:

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

See Also

Character Operators | Name Expression Creation | STORE Command | Expression Building