Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Read and Launch

 [1/3] from: rondon::andrade::uol::com::br at: 10-Aug-2001 16:04


Hi Rebolers! How can I execute the 'read command simultaneously ? I mean: data: read %file.txt sheet: read %file.xsl page: read http://somesite.com/someinformation/ ;Check data from text file with xsl file and read site. do analyse.r Do I have to use a a file for each script and process each file using 'launch command ? How Could I do this using FastCgi? Should I use launch command inside my script also ? Thanks in advance Rondon

 [2/3] from: arolls:bigpond:au at: 12-Aug-2001 17:32


I am not very certain about this, but try the no-wait refinement of read; read/no-wait %file

 [3/3] from: g:santilli:tiscalinet:it at: 14-Aug-2001 16:23


Hello Anton! On 12-Ago-01, you wrote: A> read/no-wait %file Nope, he would need to open ports like: A>> data: read %file.txt A>> sheet: read %file.xsl A>> page: read http://somesite.com/someinformation/ data-port: open/direct/no-wait %file.txt sheet-port: open/direct/no-wait %file.xsl ; dunno if direct/no-wait works ok on http ports page-port: open/direct/no-wait http://somesite.com/someinformation/ then he can read the data a bit at a time (with copy/part etc.), or set up an awake function for the ports, then wait on them, so that REBOL will read almost simultaneously (sp?) from them. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/