Functions in the on-rev - LC server script

paolo mazza mazzapaoloitaly at gmail.com
Tue Nov 16 11:40:32 EST 2010


How can I place a function in a on-rev - CGI server script ?
I have to port a stack script (with commands and functions) to a .irev text
file for the  on-rev  server .
I expected something similar to the following script...

<?rev
   put MyFunction() into tVAR1
   put tVAR1

function MyFunction
   put 1 + 1 into VAR2
   return VAR2
end MyFunction

?>
... but obviously it does not work !!!

Any idea?

Many thanks

Paolo Mazza



More information about the Use-livecode mailing list