Rexx - pull


Advertisements

This is used to pull input from the stack or from the default stream.

Syntax

Pull variable 

Parameters

  • Variable − The variable to which the input value will be assigned to.

Return Value

None

Example

/* Main program */ 
options arexx_bifs 
pull input 
say input 

Output

When you run the above program, you need to enter some input. If you enter the input value of ‘Tutorial’, the program will return the word ‘TUTORIAL’.

rexx_instructions.htm
Advertisements