home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / macros / curcmd.lx < prev    next >
Encoding:
Text File  |  1996-02-22  |  332 b   |  12 lines

  1. /* This macro puts the contents of the current line  */
  2. /* in the command dialog so user can edit & then process  */
  3. 'extract content'
  4. 'set lineread.title Current line'
  5. 'set lineread.prompt Enter a command'
  6. 'lineread 255' content
  7. 'extract lastkey'
  8. if lastkey = "ENTER" then do 
  9. 'extract lastline'
  10. 'lxn lxc' lastline
  11. end
  12.