1. EuSP Question

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/

new topic     » topic index » view message » categorize

2. Re: EuSP Question

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu