Search found 112 matches

by Cairoo
Fri Aug 02, 2024 8:38 pm
Forum: Developer Services Marketplace
Topic: Developer in Sydney, Australia
Replies: 7
Views: 26001

Re: Developer in Sydney, Australia

It seems like the internet is going wonky. I've also got server problems out of nowhere.
by Cairoo
Thu Aug 01, 2024 6:21 pm
Forum: Talking LiveCode
Topic: Why me???
Replies: 14
Views: 11894

Re: Why me???

I need to take that variable and find the nearest larger even multiple of 6 into which it "fits". Hi Craig, I'd also be stumped by the behavior you've described. However, there may be a better way to find the nearest larger even multiple of 6 into which it fits. Here's a little function that may ge...
by Cairoo
Tue Jun 25, 2024 10:53 am
Forum: Internet
Topic: Browser widget: set value of password input [Solved]
Replies: 1
Views: 10286

Re: Browser widget: set value of password input [Solved]

I've just now discovered that the password input actually has no id attribute, so that's why there's an error.

I will now close this topic because I don't want to waste anyone else's time.
by Cairoo
Tue Jun 25, 2024 9:15 am
Forum: Internet
Topic: Browser widget: set value of password input [Solved]
Replies: 1
Views: 10286

Browser widget: set value of password input [Solved]

Hi all I have a password type input on a form in a browser widget. I get an error when I try to set the input's value like so: do "document.getElementById('login_passwd').value = 'myPassword'" in widget "Browser1" The error says, LCB Error Value is not of correct type for assignment to variable - ex...
by Cairoo
Thu Jun 20, 2024 12:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to detect user holding enter key down
Replies: 23
Views: 7681

Re: How to detect user holding enter key down

Guys.

I think we've misunderstood what the OP wants. He seems to want to know how to handle the enter key only once while the enter key is down, i.e. do something when the enter key is pressed, but only once, until the enter key is released.

Gerrie
by Cairoo
Tue Oct 24, 2023 1:44 pm
Forum: Software Engineering
Topic: Run the same stack from two LC installs
Replies: 22
Views: 103045

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.
by Cairoo
Mon Oct 23, 2023 7:31 pm
Forum: Off-Topic
Topic: In Search of the Lonesome Yodel
Replies: 6
Views: 15633

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...
by Cairoo
Mon Oct 23, 2023 5:35 pm
Forum: Off-Topic
Topic: In Search of the Lonesome Yodel
Replies: 6
Views: 15633

Re: In Search of the Lonesome Yodel

by Cairoo
Wed May 03, 2023 8:27 pm
Forum: Talking LiveCode
Topic: empty and the number 0
Replies: 15
Views: 14712

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.
by Cairoo
Wed May 03, 2023 7:19 pm
Forum: Talking LiveCode
Topic: empty and the number 0
Replies: 15
Views: 14712

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...
by Cairoo
Wed May 03, 2023 7:08 pm
Forum: Talking LiveCode
Topic: empty and the number 0
Replies: 15
Views: 14712

Re: empty and the number 0

richmond62 wrote:
Wed May 03, 2023 6:56 pm
empty is BIGGER than 0
LC told me it's not
richmond62 wrote:
Wed May 03, 2023 6:56 pm
empty is SMALLER than 0
LC told me it's not
by Cairoo
Wed May 03, 2023 6:14 pm
Forum: Talking LiveCode
Topic: empty and the number 0
Replies: 15
Views: 14712

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...
by Cairoo
Fri Apr 07, 2023 8:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Carriage Return
Replies: 9
Views: 8866

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.
by Cairoo
Thu Apr 06, 2023 10:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Carriage Return
Replies: 9
Views: 8866

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 ...
by Cairoo
Thu Apr 06, 2023 9:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Regex to remove multiple return characters
Replies: 20
Views: 13844

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 ...