home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / database / db / examples / arexxdemos / expand.db < prev    next >
Encoding:
Text File  |  1995-02-27  |  241 b   |  10 lines

  1. /* Rexxprogram for db that expands some shortcuts  */
  2. Options Results
  3. GETFIELD
  4. select
  5.     when result = '1' then PUTFIELD 'First'
  6.     when result = '2' then PUTFIELD 'Second'
  7.     when result = '3' then PUTFIELD 'Third'
  8.     otherwise PUTFIELD result
  9. end
  10.