Search found 77 matches
- Wed Jan 16, 2019 12:45 am
- Forum: Talking LiveCode
- Topic: Follow up on the Visitor Patern blog article
- Replies: 1
- Views: 2738
Follow up on the Visitor Patern blog article
Hi livecoders, long time no see! A few days ago I came up this recent blog article about the visitor design pattern ( https://livecode.com/visitors-in-livecode/ ) I think there are a couple of mistakes. Luckily, both are very easy to fix. So I launched Livecode for the first time in six month and go...
- Wed Apr 06, 2016 4:41 pm
- Forum: Raspberry Pi
- Topic: LiveCode not running on Raspbian Jessie?
- Replies: 1
- Views: 6082
Re: LiveCode not running on Raspbian Jessie?
No luck here either. The installer actually starts but cant display anything but the background.
- Mon Apr 04, 2016 6:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can't Turn Off LC Backdrop
- Replies: 19
- Views: 12249
Re: Can't Turn Off LC Backdrop
Richard, it's LC8 dp 16. I didn't install LC7 yet.
and why lubuntu? I don't know... I'm a little more familiar with lxde and they say it's superlight.
I must say I quite like it so far. Even have windows on a virtual machine now!
and why lubuntu? I don't know... I'm a little more familiar with lxde and they say it's superlight.
I must say I quite like it so far. Even have windows on a virtual machine now!
- Sun Apr 03, 2016 2:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can't Turn Off LC Backdrop
- Replies: 19
- Views: 12249
Re: Can't Turn Off LC Backdrop
Funny! As a matter of fact I'm trying lubuntu since yesterday, and the backdrop appears in front of everything. If I didn't have a second screen I would've had to kill lc in the console...It's never too late to try Ubuntu. :)
- Tue Mar 08, 2016 10:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to change the position of answer Dialog
- Replies: 9
- Views: 6116
Re: How to change the position of answer Dialog
Fun! Two handlers and a local (or whatever) Try this with the backdrop off. local sLoc on mouseUp lock screen put the loc of this stack into sLoc set the loc of this stack to 380,380 send "ResetLoc" to me in .1 tick answer "Is this the correct place?" with "yes" or "no" end mouseUp command ResetLoc ...
- Fri Feb 19, 2016 12:22 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Card of different sizes
- Replies: 13
- Views: 6498
Re: Card of different sizes
Oh the answer is so much simpler
Look up for revChangeWindowSize in the dictionary!
Cheers,
Fred
Look up for revChangeWindowSize in the dictionary!
Cheers,
Fred
- Sun Feb 14, 2016 2:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: figuring out this language
- Replies: 26
- Views: 14529
Re: figuring out this language
Small modifications after testing, mainly typos, and the exit parts. After a while you'll see livecode as plain english :D local sNumberToGuess, sMaxNumberOfTries, sTryCounter -- changed sTryCounter (prev. sCuuentTryNumber, too long and with a typo) on mouseUp startGame end mouseUp command startGame...
- Sun Feb 14, 2016 12:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: figuring out this language
- Replies: 26
- Views: 14529
Re: figuring out this language
Hi, welcome to the forum! You syntax is horrible! I suggest you make use of the user guide and the dictionary... Also I think there is a hangman example in the sample stacks... A few points 1) How would you do it in your favourite language? Here you're generating three different random numbers, the ...
- Thu Feb 11, 2016 1:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: comparing dates
- Replies: 8
- Views: 5246
Re: comparing dates
Time and operators is a tricky thing.
A scary video about time & timezones : https://www.youtube.com/watch?v=-5wpm-gesOY
A scary video about time & timezones : https://www.youtube.com/watch?v=-5wpm-gesOY
- Mon Feb 01, 2016 3:36 pm
- Forum: Talking LiveCode
- Topic: Optimizing plywood usage
- Replies: 13
- Views: 7798
Re: Optimizing plywood usage
Hi!
In case anyone is interested, here's a link to a github repo that could be useful :)
https://github.com/Jack000/SVGnest/
F.
In case anyone is interested, here's a link to a github repo that could be useful :)
https://github.com/Jack000/SVGnest/
F.
- Sat Jan 30, 2016 12:36 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: charset encoding decoding with textEncode / textDecode
- Replies: 2
- Views: 4131
Re: charset encoding decoding with textEncode / textDecode
Native encodings are only available on the respective platforms, as written in the release notes here (page 15)
http://downloads.livecode.com/livecode/ ... -7_0_0.pdf
Its true that the dictionary is slightly incomplete here...
Fred.
http://downloads.livecode.com/livecode/ ... -7_0_0.pdf
Its true that the dictionary is slightly incomplete here...
Fred.
- Wed Jan 27, 2016 11:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Execute function after some time
- Replies: 10
- Views: 6480
Re: Execute function after some time
Better syntax I think :
F.
Code: Select all
on mouseUp
put "hello" into tWord
put "value(myFunction(" & quote & tWord & quote & "))" into tFunc
send tFunc to me in 2 seconds
end mouseUp
function myFunction theText
answer theText
end myFunction
- Sat Jan 23, 2016 12:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Execute function after some time
- Replies: 10
- Views: 6480
Re: Execute function after some time
Simon, I don't think your code is hacky at all, the more I think about it. The quotes positions are really awkward : get "myFunction(Hello)" normally puts "myFunction(Hello)" into the variable it I would expect get myFunction("Hello") to be the thing to send... ps, I just checked, It works in Variab...
- Sat Jan 23, 2016 11:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Execute function after some time
- Replies: 10
- Views: 6480
Re: Execute function after some time
Does it make sense to even do that, since you can pass parameters to a handler? I mean, a function usually takes a parameter in and spits a result out, and a handler is usually for doing stuff involving other objects (such as the answer dialog window). Plus the fact that sending a function needs so ...
- Sat Jan 23, 2016 2:21 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Execute function after some time
- Replies: 10
- Views: 6480
Re: Execute function after some time
This works here on mouseUp put "get " & quote & "myFunction(" & "Hello" &")" & quote into tFunc send tFunc to me in 2 seconds end mouseUp function myFunction theText answer theText end myFunction on mouseUp put "myHandler" && quote & "Hello" & quote into tCom send tCom to me in 2 seconds end mouseUp...