Search found 97 matches
- Fri Sep 11, 2015 5:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
@maxV Yes works fine, very nice! Thanks. To display the result as a decimal number, I assume I can do something like this: on mouseUp put 123 into tNumerator put 118 into tDenominator put bigDivide2(tNumerator,tDenominator) into tNum answer tNum&cr&\ item 1 of tNum &(item 2 of tNum)/tDenominator end...
- Thu Sep 10, 2015 2:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
Solved, I just divided the big number in smallest pieces. Please add and subistute these functions ( bigDivide and bigDivide2 ): Hi MaxV Well done on the speed; now very fast. But accuracy of result is not so good. Example: put bigDivide2(123,111) into tNum Calculator gives: 1.108108108108108 bigDi...
- Thu Sep 10, 2015 2:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: radio button group: how to get button names?
- Replies: 6
- Views: 3826
Re: radio button group: how to get button names?
OIC, useful to know.Klaus wrote: (Almost) Everything that you can GET can also be SET in Liveocode!
So you can of course:
...
set the hilitedbutton of grp "RadioA" to 1
...
set the hilitedbuttonname of grp "RadioA" to "Radiobutton1"
...
Thanks.
- Wed Sep 09, 2015 9:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
25 minutes here
(Windows 8.1)
So not really usable, unfortunately.
(Windows 8.1)
So not really usable, unfortunately.
- Wed Sep 09, 2015 1:46 am
- Forum: Off-Topic
- Topic: some kind of bug in script editor, character vanishes
- Replies: 8
- Views: 7237
Re: some kind of bug in script editor, character vanishes
I have seen this.viro wrote: 2. when pasting from clipboard strange signs do appear. can't apply changes to script.
I delete the strange sign and paste again. Then it works!
- Wed Sep 09, 2015 1:41 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: radio button group: how to get button names?
- Replies: 6
- Views: 3826
Re: radio button group: how to get button names?
Good idea!jacque wrote:Another way would be to set a custom property in each group that holds the number of the default hilitedButton. Then you can just read that, if I understand the question right.
Thanks for the suggestion.
- Wed Sep 09, 2015 1:40 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: radio button group: how to get button names?
- Replies: 6
- Views: 3826
Re: radio button group: how to get button names?
That's what I needed to know, thanks!bn wrote: set the hilite of button tWhich of group 2 to true
Bernd
- Tue Sep 08, 2015 8:07 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: radio button group: how to get button names?
- Replies: 6
- Views: 3826
radio button group: how to get button names?
I have 3 groups of radio buttons, called grpRadioA, grpRadioB and grpRadioC. I know how to get the hilitedButtonName, using: put the hilitedButtonName of group grpRadioA into cReturn When conditions change, I want to specify which button is highlighted in each of the 3 groups. is there a way to do t...
- Mon Sep 07, 2015 3:40 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SWITCH - can it be used with an expression
- Replies: 5
- Views: 3292
Re: SWITCH - can it be used with an expression
Very useful info from all, many thanks.
Suggestion: For beginners like me, more info like the above in the Dictionary would be useful
Suggestion: For beginners like me, more info like the above in the Dictionary would be useful
- Mon Sep 07, 2015 3:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
I have been testing the routines over the last couple days and all but one appear to work as expected. The function in question is "BigDivide" Can someone confirm that if you do. put bigDivide(99999999,10) into t answer t LC stops responding or crashes. This does not happen on every calculation onl...
- Sun Sep 06, 2015 3:10 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SWITCH - can it be used with an expression
- Replies: 5
- Views: 3292
SWITCH - can it be used with an expression
Can one use a condition in the CASE statement?
I tried this but it doesn't work.
I tried this but it doesn't work.
Code: Select all
switch tCount
case tCount <10
-- do something
break
case tCount <20
-- do something else
break
- Sat Sep 05, 2015 6:07 am
- Forum: HTML5
- Topic: First animationEngine test
- Replies: 5
- Views: 5103
Re: First animationEngine test
Very nice.
I notice that in the examples people are posting, it takes forever to load - several minutes.
Is that something that will be improved?
I notice that in the examples people are posting, it takes forever to load - several minutes.
Is that something that will be improved?
- Sat Sep 05, 2015 5:56 am
- Forum: Mac OS
- Topic: how to identify a Mac
- Replies: 7
- Views: 5643
Re: how to identify a Mac
That link is not working at the moment. Does it work for you?Simon wrote:Hi Franco,
You can get the MAC address;
http://www.sonsothunder.com/devres/revo ... env001.htm
Simon
- Sat Sep 05, 2015 5:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
Hi. The stack "bigNumber" was corrupted when I tried to open it. Sorry... Just a thought. The "longMult" handler requires both the "addZero" and "longAdd" handlers as well. You did include those, right? Craig Yes they are included. BTW I downloaded the stack again and its fine here :D I notice in v...
- Fri Sep 04, 2015 1:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Routines for very large numbers.
- Replies: 70
- Views: 33473
Re: Routines for very large numbers.
I tried the routines again, to make sure there were no typos. They work. Are you sure about typos on your end? I cannot imagine that v 6.7, where I am, is different from v. 7. Please check, though I am sure the problem is trivial. But if not, the problem is profound, and must be pounced upon. Craig...