Search found 95 matches

by Ledigimate
Mon Oct 24, 2016 6:42 pm
Forum: Talking LiveCode
Topic: Random numbers greater than unsigned 32-bit?
Replies: 6
Views: 3392

Re: Random numbers greater than unsigned 32-bit?

For my own purposes I suppose that could also suffice. The only real problem arises when uniform distribution is a must, in which case my original code is the closest thing I could think of. It may be worth noting at this point that LiveCode can accurately compute unsigned integers only up to 57-bit...
by Ledigimate
Mon Oct 24, 2016 5:24 pm
Forum: Talking LiveCode
Topic: Random numbers greater than unsigned 32-bit?
Replies: 6
Views: 3392

Re: Random numbers greater than unsigned 32-bit?

I suppose I could, because uniform distribution isn't that important for my own purposes. If, however, uniform distribution is important then your solution would not be suitable because uniform distribution is diminished with every addition. C++11 lets one generate uniformly distributed floating poi...
by Ledigimate
Mon Oct 24, 2016 11:39 am
Forum: Talking LiveCode
Topic: Random numbers greater than unsigned 32-bit?
Replies: 6
Views: 3392

Random numbers greater than unsigned 32-bit?

Dear LiveCoders, LiveCode's random function can only generate numbers up to 4294967295 (unsigned 32-bit). I need to generate random numbers up to 274877906943 (38-bit). I have the following code: function randomNbit n -- Returns a random number between 1 and the maximum range of an unsigned n-bit nu...
by Ledigimate
Tue May 24, 2016 9:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: First time using an External
Replies: 7
Views: 4074

Re: First time using an External

Hi Ross Dll's are always external to the executables that link to them. It may sometimes seem like the .dll is compiled "into" an executable when the .dll is in fact part of the Operating System, in which case there is no need for distributing the .dll along with your executable. It should otherwise...
by Ledigimate
Sat May 21, 2016 6:10 am
Forum: Talking LiveCode
Topic: Converting Hex to ASCII
Replies: 3
Views: 3564

Re: Converting Hex to ASCII

Hi Keith The last 2 hex digits correspond to the 233rd character of the Extended ASCII Character set, which may vary on different platforms and computers for several reasons. The web calculator most likely uses a different Extended ASCII Character set from that used by LiveCode on your computer. How...
by Ledigimate
Wed May 18, 2016 5:24 pm
Forum: Data Grid Helper
Topic: Datagrid contents in LC8
Replies: 2
Views: 6346

Re: Datagrid contents in LC8

Hi Rob,

Your request has been posted in the wrong forum. This forum is specific to the "Data Grid Helper" *plugin". You might be better helped if posting in the "Talking LiveCode" forum:
http://forums.livecode.com/viewforum.php?f=9

Regards,

Gerrie
by Ledigimate
Tue May 17, 2016 6:04 pm
Forum: Windows
Topic: LC 7.1.4 Stable not installing on W7 or W10 64bit
Replies: 1
Views: 2558

Re: LC 7.1.4 Stable not installing on W7 or W10 64bit

Hi Paul Whenever an installation process seems to be stuck in Windows 8.x or Windows 10, you can select it in the Details tab of Task Manager, right-click it, and select "Analyze wait chain" to see if another process may be blocking it. If so, then you may need to end the blocking process in order f...
by Ledigimate
Sat Mar 26, 2016 10:21 pm
Forum: Android Deployment
Topic: [Solved] standalone error: cannot find the template manifest
Replies: 3
Views: 3068

Re: saving standalone error: cannot find the template "Manif

After I've long given up on trying to solve this issue, I decided today to give it one more try, this time using Sysinternals' procmon to see the exact path of the file it says it cannot find. It turned out there was an unnecessary folder on my system: %userprofile%\Documents\My LiveCode\Runtime\And...
by Ledigimate
Thu Aug 27, 2015 4:56 pm
Forum: Android Deployment
Topic: [Solved] standalone error: cannot find the template manifest
Replies: 3
Views: 3068

Re: saving standalone error: cannot not find template "Manif

Thank you, MaxV. I followed the steps in the Wiki to the letter, but still no joy. The steps in the wiki works perfectly on a clean install of Windows 7 64-bit. It just won't work on my Windows 10 Pro machine which was upgraded from Windows 8.1 Pro. LiveCode correctly detected the Java SDK folder pa...
by Ledigimate
Wed Aug 26, 2015 7:37 pm
Forum: Android Deployment
Topic: [Solved] standalone error: cannot find the template manifest
Replies: 3
Views: 3068

[Solved] standalone error: cannot find the template manifest

Dear experts I'm working in LiveCode 6.7.2 and when I try to save a standalone for Android I keep getting an error saying it cannot find the template "Manifest". I installed the latest JDK (both i586 and x64), installed the latest Android SDK, and reinstalled LiveCode 6.7.2, set the paths to the SDK...
by Ledigimate
Fri Aug 21, 2015 10:46 am
Forum: Windows
Topic: Having trouble installing LC 6.7.x in Win 10
Replies: 1
Views: 2492

Re: Having trouble installing LC 6.7.x in Win 10

Don't know if this would work, but try creating an additional local administrator account (without a Microsoft account) and then try to install LC 6.7.x while logged into that new administrator account. If it installs, then you can narrow down the cause to a problem with the user account you origina...
by Ledigimate
Fri Nov 14, 2014 2:10 pm
Forum: Android Deployment
Topic: Re: App slows down -after- it begins
Replies: 41
Views: 19933

Re: App slows down -after- it begins

Okay I've created a simple stack that demonstrates the method in my previous post. Have a look at the attached sample stack.
by Ledigimate
Fri Nov 14, 2014 1:05 pm
Forum: Android Deployment
Topic: Re: App slows down -after- it begins
Replies: 41
Views: 19933

Re: App slows down -after- it begins

If you'd like to try a different approach, the followig might work for you. You could implement a timed handler that calls itself with a 5-millisecond interval, and in that handler you get ((the milliseconds - startMilliseconds) div bpmMilliseconds) and compare it to a variable that was initialized ...
by Ledigimate
Tue Oct 28, 2014 2:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid cell object
Replies: 7
Views: 4866

Re: DataGrid cell object

Nikos Here's what I mean: When a datagrid table is resized, it only creates enough fields to display the rows that are visible on-screen, and then when you scroll up/down, it "recycles" those same fields to display the new set of on-screen rows. For that reason, you cannot rely on field "Col 1 0001"...
by Ledigimate
Tue Oct 28, 2014 10:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid cell object
Replies: 7
Views: 4866

Re: DataGrid cell object

Hi Nikos, The "bug" you've described is actually not a bug. The datagrid internally only creates the objects necessary to display the visible portion of the data, and the same controls are used again when you scroll up or down. These internal objects were not designed to remain associated with rows ...

Go to advanced search