Search found 100 matches
- Tue Oct 24, 2023 1:44 pm
- Forum: Software Engineering
- Topic: Run the same stack from two LC installs
- Replies: 22
- Views: 69340
Re: Run the same stack from two LC installs
Machine A will not know about machine B's changes and vice versa. If machine A saves its changes, and then machine B saves its changes, machine A's changes will be lost.
- Mon Oct 23, 2023 7:31 pm
- Forum: Off-Topic
- Topic: In Search of the Lonesome Yodel
- Replies: 6
- Views: 4017
Re: In Search of the Lonesome Yodel
I saw at least die 8.0.2 DP-2 Windows version there. The Mac and Linux versions there show version 8.0.2. I'm not sure if they are DP-2, though. You may have to select "Show all" in die "Download options" pane. EDIT: Correction -- sorry, I see the 8.2.0 DP-2 Windows version is there, but only for Wi...
- Mon Oct 23, 2023 5:35 pm
- Forum: Off-Topic
- Topic: In Search of the Lonesome Yodel
- Replies: 6
- Views: 4017
- Wed May 03, 2023 8:27 pm
- Forum: Talking LiveCode
- Topic: empty and the number 0
- Replies: 15
- Views: 9984
Re: empty and the number 0
I also think it's a LC bug, so I posted my proof just to tease you all.
I knew that LC treats empty like the number zero in arithmetic operations. I just did not expect that the <= operator would disagree wirh the < and = operators when comparing empty with the number 0.
I knew that LC treats empty like the number zero in arithmetic operations. I just did not expect that the <= operator would disagree wirh the < and = operators when comparing empty with the number 0.
- Wed May 03, 2023 7:19 pm
- Forum: Talking LiveCode
- Topic: empty and the number 0
- Replies: 15
- Views: 9984
Re: empty and the number 0
What made you think that your string of trials would lead you to the conclusion that empty had anything to do with 0? Just LC's logic. If LC says (empty < 0) is false, and (empty > 0) is false, but (empty <= 0) is true, and (empty >= 0) is true, then logically (empty = 0) must be true. I can also a...
- Wed May 03, 2023 7:08 pm
- Forum: Talking LiveCode
- Topic: empty and the number 0
- Replies: 15
- Views: 9984
Re: empty and the number 0
LC told me it's not
LC told me it's not
- Wed May 03, 2023 6:14 pm
- Forum: Talking LiveCode
- Topic: empty and the number 0
- Replies: 15
- Views: 9984
empty and the number 0
Just some LC silliness to brighten your day: By testing the following statements one-by-one in the message box, I can't help but conclude that empty is equal to 0: put (empty < 0) put (empty > 0) put (empty <= 0) put (empty >= 0) And then to spite me, testing the following statement disproved my con...
- Fri Apr 07, 2023 8:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Carriage Return
- Replies: 9
- Views: 6459
Re: Carriage Return
Their effect is identical precisely because CR and LF in LiveCode have been defined as control character 10, even though they were supposed to be different.
- Thu Apr 06, 2023 10:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Carriage Return
- Replies: 9
- Views: 6459
Carriage Return
Dear fellow LiveCode users, Just to help prevent some of you getting a bit confused as I have, please note that at the time of my writing this post, the word "CR" in LiveCode does NOT mean control character 13. Even though CR is supposed to mean "Carriage Return", the LiveCode engine has CR meaning ...
- Thu Apr 06, 2023 9:09 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Regex to remove multiple return characters
- Replies: 20
- Views: 9535
Re: Regex to remove multiple return characters
Sorry everyone, I found the reason for what seemed to be a bug in the replaceText function, but isn't. My confusion came as a result of CR and LF both being considered by LiveCode as control character 10. I expected CR to mean control character 13, but according to the LC dictionary, return, CR and ...
- Thu Apr 06, 2023 7:26 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Regex to remove multiple return characters
- Replies: 20
- Views: 9535
Re: Regex to remove multiple return characters
@stam, I agree with you that the regex "\R" is the correct one. I should have said, it seems like LiveCode's replaceText function wrongly interprets the regex "\n" as "\r", and doesn't correctly interpret the regex "\r". Sorry about swapping the two. Here's what convinced me of that: This code: loca...
- Thu Apr 06, 2023 6:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Regex to remove multiple return characters
- Replies: 20
- Views: 9535
- Thu Apr 06, 2023 6:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Regex to remove multiple return characters
- Replies: 20
- Views: 9535
Re: Regex to remove multiple return characters
Will also work without "... lines of ..."! Yes, Klaus, I stand corrected. Something I've noticed while looking for an actual regex solution is that LiveCode wrongly interprets the regex "\r" as "\n". So the following regex-based code should work, but doesn't: put replaceText(replaceText(replaceText...
- Thu Apr 06, 2023 4:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Regex to remove multiple return characters
- Replies: 20
- Views: 9535
Re: Regex to remove multiple return characters
What Klaus said, except you may have to use the form "filter lines of".Klaus wrote: ↑Thu Apr 06, 2023 3:41 pmHi James,
sorry I have no idea of REGEX, but doesn't:do the trick?Code: Select all
filter fld "xyz" without empty
Best
Klaus
Gerrie
- Thu Mar 23, 2023 6:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Code to make popup menu show options without clicking on it.
- Replies: 23
- Views: 8226
Re: Code to make popup menu show options without clicking on it.
@Craig,
Yes I have a Windows machine and the popup command works. We both came up with the same idea just a few minutes apart, but your button is named slightly better than mine.
- Gerrie
Yes I have a Windows machine and the popup command works. We both came up with the same idea just a few minutes apart, but your button is named slightly better than mine.
- Gerrie