Confused about my first irev file

Sarah Reichelt sarah.reichelt at gmail.com
Tue Dec 22 06:32:46 EST 2009


On Tue, Dec 22, 2009 at 9:13 PM, Jim Ault <jimaultwins at yahoo.com> wrote:
> Using the script below, I get an error
>  Can't find handler
> when executing the line with 'tempp' in it
> and the script stops.
> Why can't I set a variable to a value using put?
>
> ------------------
> <html>
> <?rev
> breakpoint
> put "line of something" & "<BR>"
> put "num 1" into tempp
> put "tree leaves are green"
> ?>
> </html>
> -----output is----------
> line of something
> num 1
> ---------------------


I copied your script into an irev file and it works perfectly
<http://troz.on-rev.com/test.irev>
Are you sure you don't have some weird characters in there?
Are you using the On-Rev editor or something else - if something else,
have you checked the line endings?

Cheers,
Sarah



More information about the Use-livecode mailing list