**string.expressions**Definition/BASIC Program

# string.expressions

Command | string.expressions Definition/BASIC ProgramApplicable release versions: AP, R83 |
---|---|

Category | BASIC Program (486) |

Description | a string constant, a numeric constant, a variable with a string or numeric value, a substring, a concatenation of string expressions, an intrinsic function, or a format mask. Concatenation of strings is specified by a colon (:) or by the "cat" operator. The "cat" operator must be preceded and followed by blanks. The result of a string expression is an ASCII character string. String expressions may include arithmetic expressions. The results of any numeric function or arithmetic expression is converted to an equivalent ASCII string. |

Syntax | |

Options | |

Example | print "the total amount is " : amount The string expression consists of a literal string, "the total amount is ", followed by the contents of the variable "amount". line = "the total amount is " : unit.price * quantity The results of the arithmetic expression "unit.price * quantity" is converted to ASCII and concatenated to the literal string. |

Purpose | |

Related |
basic.string.expression basic.logical.expressions basic.arithmetic.expressions basic. expression basic.count basic.: basic.insert basic.cat basic.quotes |