[SimpleMail-usr] Re: bug very strange

  • From: Bernd Gollesch <bgollesch@xxxxxxxx>
  • To: simplemail-usr@xxxxxxxxxxxxx
  • Date: 18 Feb 2004 20:35:17 +0100

Hoi Alchimie-III,

>/* bug */
>     global.prog

>     OPTIONS RESULTS
>     address 'SIMPLEMAIL.1'
>     FOLDERINFO FOLDER "incoming"
>     say result  -----------------------> RESULT

That's more a bug in your script or ARexx than in SimpleMail.
What should "global.prog" do standing there alone? ARexx resolve the content
of "global.prog" and then executes a file called like the content of that.
It looks like the command "OPTIONS RESULTS" will not be executed after the
first command failed so:

> if you put off the word "global.prog" or add "=" : it works 

because than you have removed a faulty line or assign a empty string to that
var and arexx will execute the "OPTIONS RESULTS" which is required for
FOLDERINFO without VAR or STEM.

> if you add at the top of script (first line) :  
> OPTIONS RESULTS 
> address 'SIMPLEMAIL.1

Same. The "OPTIONS RESULTS" is executet by ARexx, so the script works.

This always works:

/* no bug in SimpleMail */
   global.prog

   OPTIONS RESULTS
   address 'SIMPLEMAIL.1'
   FOLDERINFO VAR finfo FOLDER "incoming"
   SAY finfo

Bernd> 

-- 
cu, Bernd

__________________________________________________________________________
SimpleMail mailing list   -   //www.freelists.org/list/simplemail-usr
Listserver help.: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=HELP
Unsub....: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=UNSUBSCRIBE

Other related posts: