rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: raybob on December 31, 2012, 05:35:50 AM

Title: Another request
Post by: raybob on December 31, 2012, 05:35:50 AM
Would there be any way to make it possible to use variables under non-connection based events such as [start] , etc.?

This seems like a major thing that's missing.
Title: Re: Another request
Post by: rejetto on January 01, 2013, 02:01:19 PM
yes, you have to use global variables in such context
those starting by "#", IIRC
Title: Re: Another request
Post by: raybob on January 03, 2013, 02:31:28 AM
OK Cool, how do I do it in situations such as {.set table|x.} or {.for each|x.} or {.exec||out=x.} ?

I'm having some trouble rewriting my script, it would be cool if the variables could work normally :)

EDIT:  I got exec and for each to work, but I'm unsure what to do with {.set table.} and {.from table.}


Nevermind it works with all of them :)