prop_watched.htm
Navigation: Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:Watched ====== | |
Property of a FILE that returns whether the current record is being WATCHed. Returns 1 if the record is watched and an empty string () if not. (READ ONLY)
Example:
FileName STRING(256)
Customer FILE,DRIVER('Clarion')
Record RECORD
Name STRING(20)
. .
CODE
OPEN(Customer)
SET(Customer)
LOOP
WATCH(Customer)
NEXT(Customer)
IF ERRORCODE() THEN BREAK.
IF Customer{PROP:Watched} <;> ''
MESSAGE('Record watched')
END
END
prop_watched.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1