"IF AVAILABLE" missing after "FIND NO-ERROR"

Project:Prolint Issue Tracker
Component:Rules
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

"IF AVAILABLE" missing after "FIND NO-ERROR"


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

What about this: FIND FIRST

What about this:
FIND FIRST .
IF AVAILABLE ...

or

FIND EXCLUSIVE-LOCK NO-ERROR .
IF LOCKED ...

or
FIND FIRST ... NO-ERROR.
IF AMBIGUOUS ...

None of these statements do what's expected of them - but I see that far too often in code.
Have not figured out how to properly build a rule for it though.