OI 7.2.1
I am sure I am doing the same code as in 4.3:
Editable with 4 cols required. On changed event for col 1 checking the value and if an error then set SELPOS to the PREVSELPOS value and set the cell to null.
The cell is being set to null but, I get an OI messgae re the 2nd cell is reqired and focus is in 2nd cell.
This doesnt happen in 4.3 but does in 7.2.1.
Not exactly the same code , but the same logic.
(I will do a an upgrade of the 4.3 system to 7.2.1 and test it.)
But, in the meantime:
Can anyone confirm this, or tell me how it SHOULD be done.
Oops 4.3=4.13
OK, appears the 4.13 system worked because I had IOOPTIONS set to allow tab out - was for another reason, so I fluked it.
Does anyone have a method they use, besides IOOPTIONS.
In the meantime I will experiment.
OK, I found - utility("FLUSH")- works, so far. Not sure if there are any gotchas yet
..or you can use STOP !!!
In the process of converting an Arev system (No Don , not that one). I recompiled it in OI , expecting to do the normal changes:
change the STOP
add else null to writes und unlocks.
Whoope, these syntaxes are now accepted.
Courtesy of your friendly neighborhood CTO enhancements. While reviewing the opcodes we need for some of CTO changes, it's amazing to me that some were taken out.
We continue to review them and plan to put some more in. Watch this space.
Interesting!
So… what is the scope and effect of a STOP in an event script? Is it similar a return 0 in the currently executing script, or does it cancel anything else in the que too?
In other words, is this something we want to use on purpose sometimes?
When I first started working with OI I was pleasantly surprised with the understated backward compatibility with Arev code. Now it is even easier.
It looks like we all benefit from CTO, even if we don't have a bunch of green screen Pick type stuff to work over. Good job guys!
In commuter code the STOP kills all in event queue.
In regards to CTO.
Where is it in OI7.2.1
What systems\languages does it address.