Exercises - Identifying Valid Variable Names

About this task

Which of the following are valid REXX variable names?
  1. 8eight
  2. £25.00
  3. MixedCase
  4. nine_to_five
  5. result
ANSWERS
  1. Incorrect, because the first character is a number.
  2. Incorrect, because the first character is a "£".
  3. Valid
  4. Valid
  5. Valid, but it is a special variable name that you should use only to receive results from a subroutine.

Task Task

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrx00027.html