Previous Topic: Variable ConcatenationNext Topic: Substring Notation


Example

Assume that the following variables have these values:

The following table shows you how ACL/E will determine the value of the variables specified:

Variable

What ACL/E does

Resulting Value

&A

Uses the value of &A

TOUCH

&.A

Concatenates the ampersand character (&) with the letter "A"

Note: When a period is used to concatenate two values to form the name of a variable, ACL/E evaluates the statement from right to left, instead of left to right.

&A

&A.TONE

Concatenates the value of &A with the character string "TONE"

TOUCHTONE

&A&B

Concatenates the value of &A with the value of &B

TOUCHDOWN

&A.&C

Concatenates the variable name &A with the value of &C (which is the letter B).

Note: When a period is used to concatenate two values to form the name of a variable, ACL/E evaluates the statement from right to left, instead of left to right.

FIELDGOAL