Does Rev optimize my code?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Does Rev optimize my code?
On several occasions while debugging
I've found Rev indicating an error on a line
other than the current one.
Wonder if Rev "optimizes" code as some
other compilers do.
Haven't seen it mentioned anywhere.
Perhaps just a bug?
I've found Rev indicating an error on a line
other than the current one.
Wonder if Rev "optimizes" code as some
other compilers do.
Haven't seen it mentioned anywhere.
Perhaps just a bug?
Life is just a bowl of cherries.
Bug in script editor
Since I upgraded to 2.9 there's been an
annoying bug in the script editor.
Some changes to the script don't activate
the "Apply" button so I have to press the
"Return" key to insert a new line (which still
doesn't activate the "Apply" button) then
press "Delete" to remove it. That finally
activates the "Apply" button.
It's a real nuisance and has let to loss
of come changes. Wonder has anyone else
had the same problem.
Hope it gets fixed in 3.0.
annoying bug in the script editor.
Some changes to the script don't activate
the "Apply" button so I have to press the
"Return" key to insert a new line (which still
doesn't activate the "Apply" button) then
press "Delete" to remove it. That finally
activates the "Apply" button.
It's a real nuisance and has let to loss
of come changes. Wonder has anyone else
had the same problem.
Hope it gets fixed in 3.0.
Life is just a bowl of cherries.
Hi BJB,
Much more the opposite for me. In 2.8.1 and earlier, the script editor would always have the Apply button activated, even of nothing had been changed. I'm glad they sorted that out.
Can you give an example of when the Apply button should be active but isn't?
Best,
Mark
Much more the opposite for me. In 2.8.1 and earlier, the script editor would always have the Apply button activated, even of nothing had been changed. I'm glad they sorted that out.
Can you give an example of when the Apply button should be active but isn't?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Bug in script editor
Mark
It seems to be random so I don't know when
it's going to happen - which make it
difficult (impossible?) to replicate.
But I'll try to catch an example anyway.
Edit:
Had this line...
put max(arrNumbers[]) into field "fldMax"
and when I deleted the "[]" the "Apply" button didn't
activate.
But in the code for the "max" button it did activate.
It seems to be random so I don't know when
it's going to happen - which make it
difficult (impossible?) to replicate.
But I'll try to catch an example anyway.
Edit:
Had this line...
put max(arrNumbers[]) into field "fldMax"
and when I deleted the "[]" the "Apply" button didn't
activate.
But in the code for the "max" button it did activate.
Life is just a bowl of cherries.
It's a bug. The 3.0 betas do this right, but the earlier script editors have a problem with this. I think what you're running into with this example is that you're working with an invalid syntax - deleting the "[]" doesn't trigger the "Apply" button in the 2.9 editor but does in 3.0. But changing "max" to "mx" does enable the "Apply" button" - possibly the script editor looks at the change to see if the doc links need updating and only then enables the button. The good news is that the fix is in the 3.0 script editor, so help is on the way.
Bug in script editor
I realize I was changing invalid code
but who doesn't have to do that now and
then?
I assumed that the "Apply" button would
be activate by the usual "ischanged" sort of
trigger.
Apparently not.
but who doesn't have to do that now and
then?
I assumed that the "Apply" button would
be activate by the usual "ischanged" sort of
trigger.
Apparently not.
Life is just a bowl of cherries.