Lister Read

back to section start!

 ArcDir 

  The  lister read  command causes the lister to read a different path into
the display.  When you read a new path into the lister, the old path will be
returned in  RESULT .

  Example:


 /* ListerRead.dopus5 */ 
options results
address 'DOPUS.1'
dopus front
lister new mode name "RAM:"
handle = result
lister wait handle
lister request handle '"We will now read ''SYS:'' into this lister" OK'
lister read handle "SYS:"             /* Read the new path */
oldpath = result                      /* Save the old path */
text = 'The old path was: 'oldpath
lister request handle '"'text'" OK'
address command wait 2
lister close handle
dopus back
exit

DOpus PLUS - giving you that bit extra...