1. EuSP Question
- Posted by cklester <cklester at yahoo.com> Dec 19, 2005
- 507 views
- Last edited Dec 20, 2005
Here's a little HTML file I created to test this out: <eu> sequence s </eu> <p>Some non-Eu code here...</p> <eu> s = "Hello, world!" puts(1,s) </eu> It works. If I put the assignment in the first block it also works. So, variables are persistent from code section to code section? I wonder how fast this is compared to PHP. 8) Anyone want to speculate or demonstrate? -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
2. Re: EuSP Question
- Posted by Alex Chamberlain <alex.chamberlain at tiscali.co.uk> Dec 20, 2005
- 515 views
Yes, variable declarations etc are carried between code sections. This uses my eval script so it is all passed to the normal RDS inpreter after preprocessing - this also means theres no time() function at the moment! Alex