Kevin:
I am using REALITY, with BASIC (we were formerly on D3, Advanced Pick, and GA), and I have the following syntax for an INPUT command that I use:
INPUT AMOUNT for 1200 else go 300 ; * release lock after 5 minutes
I have several programs running throughout our 125,000 sq ft retail space, with many, many terminals doing lookups on products, etc. Because I have several items locked when they make a selection, I force a "RELEASE" on locked items after a specified time (above example holds for 5 minutes, then, if no activity, will release all locks on this port).
As you might imagine, the "go 300", following the "else", could very easily be a clause to do just about anything needed.
I don't know if the "for ..." clause exists on other MV systems, but it works for me.
Jim Cronin
Kittery Trading Post
Kittery, Maine