Routines (alphabetical) > Routines: R > RECALL_COMMANDS

# RECALL_COMMANDS

The RECALL_COMMANDS function returns a string array containing the entries in IDL’s command recall buffer.

## Syntax

Result = RECALL_COMMANDS()

## Return Value

The size of the returned array is the size of recall buffer, even if fewer than commands have been entered (any “empty” buffer entries will contain empty strings). The default size of the command recall buffer is 20 lines. (See !EDIT_INPUT for more information about the command recall buffer.)

Element zero of the returned array contains the most recent command.

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced