Search found 18 matches

by johnf923
Wed Apr 14, 2021 6:52 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Re: Saving stack: error message obscured by floating window

Thanks for that - it got me looking in the right place at last! No joy yet though. Each dialog box from my original recipe is put up by "answer ... as sheet" and there's nothing different that I can see, so I guess there must be something about the sequence of events before the calls. I'll try to fi...
by johnf923
Tue Apr 13, 2021 8:26 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Re: Saving stack: error message obscured by floating window

Well, no luck so far. I did look for raiseWindow calls but found nothing helpful - and I'm probably hoping to find the place where raiseWindow should have been called but wasn't (why doesn't grep have an option for that? :( ) I tried to find the code that generated the dialog boxes, and I expected t...
by johnf923
Sun Apr 11, 2021 8:00 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Re: Saving stack: error message obscured by floating window

Again, many thanks to you both!

I think I might try to explore the engine source code to find out why two supposedly similar dialogs behave in different ways on my system. This may take some time...
by johnf923
Sun Apr 11, 2021 5:13 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Re: Saving stack: error message obscured by floating window

Thanks for those replies, and Jacque: I hadn't seen that bug report so thanks for that in particular. I don't know whether what I'm seeing is related to that bug report or not, but I have now found a recipe that enables me to demonstrate what I'm seeing. The recipe is: 1. Create a new stack at the d...
by johnf923
Fri Apr 09, 2021 8:47 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Re: Saving stack: error message obscured by floating window

Interesting. I'm now wondering whether this is a case where LC asks the window manager to do something (like "bring this dialog to the top") and the window manager refuses to comply - yet LC carries on under the assumption that the request was acted on. Could this be related to the known problem tha...
by johnf923
Wed Mar 31, 2021 7:14 pm
Forum: Bug Triage
Topic: Saving stack: error message obscured by floating window
Replies: 14
Views: 2686

Saving stack: error message obscured by floating window

Not sure how to reproduce this one so posting it here. LiveCode Community 9.6.2 rc3; Ubuntu 20.04.2 LTS. I tried to close a stack by clicking on the close button in its title bar. I got a dialog box asking whether to save changes first and said yes. Then another box appeared saying words to the effe...
by johnf923
Wed Mar 24, 2021 6:17 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Well, let's leave it there. Good luck with the project!
by johnf923
Tue Mar 23, 2021 1:08 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

NAN is not in the Dictionary. NAN is not in the User Guide. These make sense because NAN is not in LiveCode. Just because you didn't see it doesn't mean you'll never meet it. Try this in a button script: on mouseUp put 1e10000 into a put 1 / a into b put a / b into c put c - c into d answer "c =" &...
by johnf923
Tue Mar 23, 2021 12:12 am
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Right: I think I've worked on this as much as I can so I hope you'll let me have a go at explaining my take on the issues in this thread. I'm sorry it's such a long post but I've tried to be as clear as possible. You're allowed to disagree with that... ## 1. Floating Point Arithmetic, Numeric Compar...
by johnf923
Sun Mar 21, 2021 4:52 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

A few posts ago I felt I needed to take a break from this discussion and looking back I realize I did so in a way that could at best be described as ungracious. I do apologize. The fact is that I'm still working on this and would like to come back with a more detailed suggestion - but it's going to ...
by johnf923
Sat Mar 20, 2021 1:18 am
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Ok, well I've had my say and you're obviously not convinced, so at this point I'll bow out of your thread.
by johnf923
Fri Mar 19, 2021 11:08 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Just a bit of a correction and clarification of my own post, if I may. A few posts ago in this thread I said I thought there was a problem in the LC engine's source code with an uninitialized variable. I now think that I was wrong there: I think the problem is in the logic of the function MCLogicCom...
by johnf923
Fri Mar 19, 2021 1:43 am
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Davidv wrote:
Thu Mar 18, 2021 11:56 pm
Reiterating, type coercion by the engine is not an issue provided it does so consistently on both sides of the comparison for the same datum. In the context of LC, alternative behaviour is a bug.
With every respect, I think my previous post might have addressed this ...
by johnf923
Thu Mar 18, 2021 11:39 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

I think the question of strong vs weak typing is a matter of context: different languages work best for different tasks. In other words, I'm happy to express my opinion but not to quarrel with anyone else's. Except that I can't resist mentioning that the LiveCode engine is itself written in (strongl...
by johnf923
Thu Mar 18, 2021 5:15 pm
Forum: Talking LiveCode
Topic: Not a number is a number, problem
Replies: 83
Views: 46103

Re: Not a number is a number, problem

Hmmm. can see LC doesn't have a string comparison Not sure what the C equivalent is, but LC does indeed have comprehensive string tools. Have you run across a case where you found LC coming up short? Craig Not really, although in fairness I haven't got very far into the language yet. I confess to a...