Fw: &*^%^$#%$*& USER!
Brian K. White
brian at aljex.com
Thu Apr 1 18:00:00 PST 2004
sent this privately by accident...
Brian K. White wrote:
> Kenneth Brody wrote:
>> "Brian K. White" wrote:
>> [...]
>>> then: user cgc = cgc
>>> then: cgc = getenv("COMPANY"){","{scanimg_dtyp{","{scanimg_dnum
>>> then: system "winstart
>>> http://"{getenv("SRVIP"){"/cgi-bin/showthm?"{cgc then: close
>>> cgc ; return
>> [...]
>>> two possible work-arounds that I can see are:
>>> 1) track whether user has ever been opened in a global variable and
>>> then check the variable at the beginning of the gosub and never
>>> close the user command.
>>
>> Why are you closing it in the first place? There is no need, since
>> you have properly written the script to loop.
>>
>>> 2) don't track whether user has already been opened, just always
>>> open it once in @once and never close it.
>>
>> What do you mean "open it once in @once"?
>>
>> Unless you have some overriding need to close the pipe which I don't
>> see, simply remove the "close cgc" from your subroutine.
>>
>> [...]
>
> Are you saying that if I have the command "user cgc = cgc"
> encountered by processing many times, it will not spawn more than one
> child process?
>
> Brian K. White -- brian at aljex.com -- http://www.aljex.com/bkw/
> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
> filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
More information about the Filepro-list
mailing list