DISPLAY MEMORY Command Example

In the following example, several variables are created and assigned values. DISPLAY MEMORY first displays all variables that begin with "sam" and then displays all variables that contain five letters and end with "exit."

STORE 'Goodbye' TO sample1
STORE 'Hello' TO sample2
STORE .T. TO texit
STORE .F. TO mexit

CLEAR
DISPLAY MEMORY LIKE sam*
DISPLAY MEMORY LIKE ?exit