Confused about my first irev file
jimaultwins at yahoo.com
Tue Dec 22 07:25:27 EST 2009
I am using the OnRev desktop editor/debugger
Now that I have retyped the entire script, I don't get the error.
It turns out that using the clipboard to move text from a note-taking
program I have, then copy-paste into the OnRev desktop app window
transferred junk white space. I use BBEdit in uinx LF mode, but that
did not do the trick, since indents were set as tab chars.
Mucho problems with white space, so I need to be careful of my workflow.
Pasting in to a Rev 3.5 script window and compiling does not convert
the white space.
I will make a test factory cleaning program to convert line endings,
tabs and spaces correctly.
Thanks for the quick response.
And now to finish my single-page-refresh sequential slideshow solution
On Dec 22, 2009, at 3:32 AM, Sarah Reichelt wrote:
> On Tue, Dec 22, 2009 at 9:13 PM, Jim Ault <jimaultwins at yahoo.com>
>> 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?
>> put "line of something" & "<BR>"
>> put "num 1" into tempp
>> put "tree leaves are green"
>> -----output is----------
>> line of something
>> num 1
> I copied your script into an irev file and it works perfectly
> 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?
More information about the Use-livecode