Functions for On-Rev

Gregory Lypny gregory.lypny at videotron.ca
Tue Aug 10 11:33:40 CDT 2010


Hello everyone,

Is it possible to call a file of functions for On-Rev?  I created a file called functions.irev.  In it, I put a function that converts strings to title case.

<?rev
function titleCase, pString
-- do stuff
return theResult
end titleCase
?>

I then placed an HTML object on a web page with

<?rev
include functions.irev
put titleCase("THIS SENTENCE WAS CONVERTED TO TITLE CASE.")
?>

but unfortunately, I get nothing.

Regards,

Gregory




More information about the use-livecode mailing list