Hello
I am starting off with Livecode and am working thru the user guide.
I have some beginner questions:
On page 93 (section 4.2.9) it gives an example of the answer dialog. I copied the code in from the PDF but get an error.
I retyped it and that line worked fine. I left in the problem line commented out. But it still gives an error.
So:
Why does a line that is commented out give an error. Shouldn't it be ignored?
What does this error message mean?
TIA.
Working thru user guide. What is this error?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Working thru user guide. What is this error?
Hi golive,
You have to be careful with copying and pasting as the data can contain binary information.
Binary data won't show up in the script editor.
If you must, paste the data into a text editor first, then copy that, it will remove any binary stuff.
Simon
You have to be careful with copying and pasting as the data can contain binary information.
Binary data won't show up in the script editor.
If you must, paste the data into a text editor first, then copy that, it will remove any binary stuff.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Working thru user guide. What is this error?
OK thanks, will do.Simon wrote:Hi golive,
You have to be careful with copying and pasting as the data can contain binary information.
Binary data won't show up in the script editor.
If you must, paste the data into a text editor first, then copy that, it will remove any binary stuff.
Simon
Surprised that a comment line cannot have binary data!
Re: Working thru user guide. What is this error?
Hi golive
a (single or double) SLASH is actually NOT a valid comment sign in Livecode!
Use one of these:
...
# comment line in LC script
...
-- comment line in LC script
...
/* comment line in LC script */
...
Best
Klaus
a (single or double) SLASH is actually NOT a valid comment sign in Livecode!
Use one of these:
...
# comment line in LC script
...
-- comment line in LC script
...
/* comment line in LC script */
...
Best
Klaus
Re: Working thru user guide. What is this error?
OK thanks, will do.