-- ChipUserInt.mesa -- the definitions for an improved user interface for text -- to Chipmonk. -- last modified by E. McCreight, December 15, 1982 12:32 PM -- written by E. McCreight, November 19, 1981 2:43 PM DIRECTORY ppdefs; ChipUserInt: DEFINITIONS = BEGIN Punt: SIGNAL; Explain: PROCEDURE [what, why, explanation: STRING ← NIL]; FixExtension: PROCEDURE [s, ext: STRING] RETURNS [se: STRING]; RequestString: PROCEDURE[s1, s2, s3: STRING ← NIL, lowerCaseOK: BOOLEAN ← FALSE, flashColor: BOOLEAN ← TRUE, breakChars: STRING ← NIL, appendBreakChar: BOOLEAN ← FALSE] RETURNS[sResult: STRING]; RequestInteger: PROCEDURE[s1, s2: STRING ← NIL] RETURNS[INTEGER]; HeSaysYes: PROCEDURE[s1, s2, s3: STRING ← NIL] RETURNS[BOOLEAN]; RemarkAtPoint, DebugAtPoint: PROCEDURE[p: ppdefs.Point, s: STRING]; GridPoint: PROCEDURE[p: ppdefs.Point] RETURNS[ppdefs.Point]; -- returns nearby point on-grid. MoveToXY: PROCEDURE[x, y: ppdefs.locNum]; -- mainly for debugger ColorOn, ColorOff: PROCEDURE[]; ColorIsOn: PROCEDURE RETURNS[BOOLEAN]; END. -- of ChipUserInt