Rexx - drop



This function is used to un assign a variable.

Syntax

drop variable_name 

Parameters

  • variable_name − The variable which needs to be dropped.

Return Value

None

Example

/* Main program */ 
options arexx_bifs 
a = 5 
say a 
drop a 
say a 

When we run the above program we will get the following result.

Output

5 
A 

From the output you can see that since the variable a is dropped, it does not have a value assigned to it.

rexx_instructions.htm
Advertisements