Search found 230 matches
- Thu Jun 26, 2025 3:40 am
- Forum: Off-Topic
- Topic: Serfing USA
- Replies: 29
- Views: 32543
Re: Serfing USA
Yes, whoops, I meant 2000 for buying Serf, not 2020. I edited my post.
- Sun Jun 08, 2025 6:47 pm
- Forum: Talking LiveCode
- Topic: R.I.P. Bill Atkinson, 74
- Replies: 3
- Views: 3051
R.I.P. Bill Atkinson, 74
https://en.wikipedia.org/wiki/Bill_Atkinson I made a trip to Dallas circa 1987 or 1988 to see him speak about HyperCard. I remember in the Q&A when an audience member asked about the interface being non-Mac-like (others had made the same complaint), Atkinson asked for an example, and the questioner ...
- Sat Feb 15, 2025 1:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's the difference b/n "select line x" and "set the hilitedlines to x"?
- Replies: 5
- Views: 5114
Re: What's the difference b/n "select line x" and "set the hilitedlines to x"?
Thank you for the help!
In another thread, Bernd identified another difference: "select line..." screws with the focus, and could "eat" a user's subsequent click, causing it to not register. Switching from "select line..." to "select the hilitedline..." fixed that problem in my stack.
In another thread, Bernd identified another difference: "select line..." screws with the focus, and could "eat" a user's subsequent click, causing it to not register. Switching from "select line..." to "select the hilitedline..." fixed that problem in my stack.
- Sat Feb 15, 2025 1:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Click doesn't register after code selects a line in a list field
- Replies: 3
- Views: 5586
Re: Click doesn't register after code selects a line in a list field
Thank you, Bernd, changing the code from "select line..." to "set the hilitedline..." fixed it. I'm using closeField because I don't want to make the user press the Return or Enter key. I want the changes populated into my list field as soon as the user clicks away onto something else. Is closeField...
- Sat Feb 15, 2025 12:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's the difference b/n "select line x" and "set the hilitedlines to x"?
- Replies: 5
- Views: 5114
Re: What's the difference b/n "select line x" and "set the hilitedlines to x"?
Okay, so the answer is that "select line..." always works, and "set the hilitedline..." works only on list fields?
- Sat Feb 15, 2025 11:31 am
- Forum: Off-Topic
- Topic: Serfing USA
- Replies: 29
- Views: 32543
Re: Serfing USA
I paid for Serf circa 2000 as an unreleased product but if I recall it never actually shipped. And since we're getting nostalgic, I went to Dallas circa 1987 to hear Bill Atkinson speak about Hypercard. The only thing I remember was in the Q&A someone asked about HC supposedly having a non-standard ...
- Sat Feb 15, 2025 10:42 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's the difference b/n "select line x" and "set the hilitedlines to x"?
- Replies: 5
- Views: 5114
What's the difference b/n "select line x" and "set the hilitedlines to x"?
I'm able to set the highlighted line of a list field with either of these: select line 6 of fid myField set the hilitedline of old myField to 6 I've searched lo and hi, but can't find the difference between them. Is there one? BTW, for anyone finding this thread who might be looking for how to progr...
- Sat Feb 15, 2025 9:40 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Click doesn't register after code selects a line in a list field
- Replies: 3
- Views: 5586
Click doesn't register after code selects a line in a list field
I have a text input field and a couple of list fields. When I edit the value of the input field, it puts that value into the first list field and selects the line, e.g.: on closeField updateTitle pass closeField -- Thought this might help, but it doesn't. end closeField on updateTitle put me into li...
- Wed Sep 29, 2021 7:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What algorithm for random() function?
- Replies: 26
- Views: 12861
Re: What algorithm for random() function?
And it's worth noting that the only reason it's come up here isn't related to building anything in LiveCode, but a battle of wits with someone else who isn't here and isn't using LiveCode. If there's a project-related reason why knowing the algo is important I'd help you find it. But for just settl...
- Wed Sep 29, 2021 7:17 am
- Forum: Talking LiveCode
- Topic: counting occurrences
- Replies: 17
- Views: 21695
Re: counting occurrences
I know this is an ancient thread, but people will still find it when searching, so here's a pretty simple way to count occurrences. The trick is that itemDelimiter can be more than one character. put "a million balloons were allowed" into myString set the itemdelimiter to "ll" -- (two lowercase L's)...
- Tue Jul 13, 2021 9:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What algorithm for random() function?
- Replies: 26
- Views: 12861
Re: What algorithm for random() function?
I just told you. It's literally every sentence of my reply. That was the whole point.richmond62 wrote:And what was that reason?
- Tue Jul 13, 2021 5:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What algorithm for random() function?
- Replies: 26
- Views: 12861
Re: What algorithm for random() function?
Because I rarely find what I'm looking for in the docs. That's why when I went to look up random(), I thought, "They're not even gonna bother to mention what algorithm they use." I was right for a reason.
- Tue Jul 13, 2021 2:50 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What algorithm for random() function?
- Replies: 26
- Views: 12861
Re: What algorithm for random() function?
A few years ago a professor created a new algorithm, PCG. On her website she details the various qualities desirable in an algorithm, and how the existing algorithms aren't as good as PCG. Granted that she could be biased, but I haven't seen any reputable criticism of her work or her claims. I'd lov...
- Mon Jul 12, 2021 6:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What algorithm for random() function?
- Replies: 26
- Views: 12861
What algorithm for random() function?
I was not at all surprised that the Dictionary is completely silent about what algorithm the random() function uses.
For example, for Javascript, it depends on the web browser, but most seem to use xorshift128+.
Anyone know what algorithm LiveCode uses?
For example, for Javascript, it depends on the web browser, but most seem to use xorshift128+.
Anyone know what algorithm LiveCode uses?
- Sun Feb 14, 2021 4:13 am
- Forum: Databases
- Topic: "The database disk image is malformed"
- Replies: 1
- Views: 13340
Re: "The database disk image is malformed"
It apparently was a corrupt database. I found the new "recover" command, which fixed the problem. Running from the MacOS Terminal:
Now I know how much hibiscus to use to make my tea.
Code: Select all
sqlite3 corruptedFile.sql .recover | sqlite3 recoveredFile.sql