|
|
1.1 ! root 1: .th RANGE QUEL 2/29/79 ! 2: .sh NAME ! 3: range \- declare a variable to range over a relation ! 4: .sh SYNOPSIS ! 5: .bd "range of" ! 6: variable ! 7: .bd is ! 8: relname ! 9: .sh DESCRIPTION ! 10: .it Range ! 11: is used to declare variables which will be used in subsequent ! 12: \s-2QUEL\s0 statements. ! 13: The ! 14: .it variable ! 15: is associated with the relation specified by ! 16: .it relname. ! 17: When the ! 18: .it variable ! 19: is used in subsequent statements it will refer ! 20: to a tuple in the named relation. ! 21: A range declaration remains in effect for an entire ! 22: \*(II session ! 23: (until exit from \*(II), until the variable is redeclared by a subsequent ! 24: range statement, or until the relation is removed with the destroy command. ! 25: .sh EXAMPLE ! 26: .nf ! 27: /\*(** Declare tuple variable e to range over relation emp \*(**/ ! 28: range of e is emp ! 29: .fi ! 30: .sh "SEE ALSO" ! 31: quel(quel), destroy(quel) ! 32: .sh BUGS ! 33: Only 10 variable declarations may be in effect at any time. ! 34: After the 10th range statement, ! 35: the least recently referenced ! 36: variable is re-used for the next ! 37: range statement.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.