INTERFACE NGet; (* Procedures that read named parameters, in the format "NAME = VALUE". *) IMPORT Rd; PROCEDURE NameEq(rd: Rd.T; name: TEXT); (* Matches the "name" and an "=", skipping spaces and tabs before each. *) (* The procedures below will skip spaces or tabs (but not newlines, unlike their "Lex" counterparts) before the name and around the "=". *) PROCEDURE Char(rd: Rd.T; name: TEXT): CHAR; PROCEDURE Bool(rd: Rd.T; name: TEXT): BOOLEAN; PROCEDURE Int(rd: Rd.T; name: TEXT): INTEGER; PROCEDURE Real(rd: Rd.T; name: TEXT): REAL; PROCEDURE LongReal(rd: Rd.T; name: TEXT): LONGREAL; END NGet.