I just use the local command
local X
That's it
And i also use strict preferences. I prefer that. For me it's better when it's strict.
Search found 4 matches
- Fri Apr 18, 2014 10:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Red dot in the Script Editor [Solved]
- Replies: 6
- Views: 3570
- Mon Apr 07, 2014 12:35 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Red dot in the Script Editor [Solved]
- Replies: 6
- Views: 3570
Re: Red dot in the Script Editor [Solved]
Yes but my script is much more longer. Two tree pages.Simon wrote:Hi,
That is odd becauseThat runs fine here, no errors.Code: Select all
on mouseUp repeat 100 add 1 to x put x end repeat end mouseUp
Simon
But honestly i really like this feature.
- Sun Apr 06, 2014 10:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Red dot in the Script Editor [Solved]
- Replies: 6
- Views: 3570
Re: Red dot in the Script Editor [Solved]
Ok Thanks God
I found the answer in the LiveCode Blog.
I just have to make a declaration of the variable like that : Local X
Thats it. But it's new for me. I was not remember this.
I found the answer in the LiveCode Blog.
I just have to make a declaration of the variable like that : Local X
Thats it. But it's new for me. I was not remember this.
- Sun Apr 06, 2014 8:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Red dot in the Script Editor [Solved]
- Replies: 6
- Views: 3570
Red dot in the Script Editor [Solved]
Hello, I am new to LiveCode but i do many years of HyperCard. For now i do my initiation making a perpetual calendar. And i got some bug. I dont know if do something wrong or not. I got a bug with this : add 1 to X. The script editor told with a red dot that its a mistake in this line. add 1 to X is...