|
Post by Roger Cabo on May 30, 2023 1:43:52 GMT 1
Hi everyone, found another little crash on Gb32.
But make sure you have saved all your work before pasting it! :-)
Paste: If OrElse
|
|
|
Post by dragonjim on May 30, 2023 12:05:57 GMT 1
I have pasted as instructed as below:
If OrElse EndIf
... and all I am getting is an "OrElse Variable?" error.
|
|
|
Post by (X) on May 30, 2023 20:38:38 GMT 1
Just an error here too, after I try to run the program.
|
|
webu
Full Member
Posts: 148
|
Post by webu on May 30, 2023 21:55:24 GMT 1
Correct! Only error after run. No crash
|
|
|
Post by Roger Cabo on May 31, 2023 21:20:40 GMT 1
Then try to continue writing after If OrElse |<--- was a bit difficultly to find out
|
|
|
Post by (X) on May 31, 2023 21:25:36 GMT 1
Then try to continue writing after If OrElse <--- Well 'shut my mouth'! The GFA IDE crashed!
|
|
|
Post by Roger Cabo on May 31, 2023 21:32:20 GMT 1
Then try to continue writing after If OrElse <--- Well 'shut my mouth'! The GFA IDE crashed!
The OrElse operator is not available. It was introduced in Visual Basic .NET (VB.NET) and is used as a short-circuiting logical operator to perform a Boolean comparison between two expressions.
short-circuiting logical operator : GB32 took it by word
|
|
webu
Full Member
Posts: 148
|
Post by webu on May 31, 2023 21:35:32 GMT 1
Ok, i understand.
If you paste "If OrElse" an press return, nothing special happens. But if you continue writing, GFA stops working! :-(
You may not paste these words, you also can type manually
if orelse [and a SPACE after orelse]
|
|
|
Post by Roger Cabo on May 31, 2023 22:00:03 GMT 1
Ok, i understand. If you paste "If OrElse" an press return, nothing special happens. But if you continue writing, GFA stops working! :-( You may not paste these words, you also can type manually if orelse [and a SPACE after orelse] this happen because I pasted any code from GPT containing If anything OrElse abc.. and I wanted to fix this.. and every time ,crash.. and I had no chance to fix it for the first 5 attempts..
|
|
|
Post by scalion on Jun 6, 2023 14:12:29 GMT 1
Effectively i tested it, and badaboum !!!. Omg, it's a very curious crash. I think GFA turn in infinity loop style : OrElse can be a variable . Ok OrElse can be a concatenation of Or Else and must be changed to Else (or OR ?) . Ok The if Statement wait someting, reparse this line... I tried with AndElse and i have the same crash !
I Tried with AndSomething and there's no crach. I Tried With SomethingElse and that's crach : conclusion The culprit is "Else".
|
|
|
Post by dragonjim on Jun 6, 2023 14:24:59 GMT 1
That's interesting. I would think this should be fixable - surprised it has never happened before.
|
|