Rexx - ask Command



This command is used to read a line from the default input stream.

Syntax

variable = ask 

Parameters

  • Variable − The variable to store the value entered by the user.

Return Value

None

Example

/* Main program */ 
input = ask 
say input

Output

When we run the above program we will get the following result. If we input the value hello, we will get the output of hello.

ASK
rexx_netrexx.htm
Advertisements