clearselect Statement

The clearselect statement clears the active select-list specified by the list.var and releases all overflow associated with that list. Any external select-list is also cleared if the list variable is not specified.

Syntax

clearselect {list.var}

Example(s)

5 *

readnext key else

print ’Frist Week ’,hours

stop

end

read member from file,key else goto 5

hours += member<4>

print member<1>,member<4>

if hours > 40 then

clearselect

goto 5

end

See Also

Active List

Default File Variables

execute Statement

File Variable

readnext Statement

Secondary List

Statements and Functions

tcl Statement