Up   Previous Page   Next Page
Crystal clear icicle photograph by Donna Cooper

SET Macro - Enhanced Syntax

Advanced Examples

(~CLEAR|*~)
(~SET|Session['Sx']=hello~)
(~SET|Session[Session['Sx']]=world~)
(~SET|Session[Session[Session['Sx']]]=green~)
(~SET|Session['y']=yellow~) (~SET|Session['z']=(~y~)~)
(~SET|Session['St']=(~webserver.webtime~)~)
(~SET|Session['red']=balloon~) (~SET|Session['Sr']=red~) (~SET|Session['r']=Session['Sr']~) (~SET|Session['b']=Session[Session['Sr']]~)



Displaying the Above Literals

Sx=hello
hello=world
world=green
y=yellow
z=yellow
St=Fri 25 Jun 2004 00:13:03 GMT
red=balloon
Sr=red
r=red
b=balloon

Still Supported

(~SET|y=yellow~)
%=SET|y=yellow=%

Important Note!

If you want to use the Session[] keyword as shown here, do so on BOTH sides of the equal symbol.

Not Supported

(~SET|x=Session['y']~)

Supported

(~SET|Session['x']=Session['y']~)


Works with syntax stage 1 in v2.034+