home *** CD-ROM | disk | FTP | other *** search
- #Help for GET unit
- :Main_menu
-
- Procedures in GET unit v1.0ß (c) Paul O'Nolan 1 Oct, 1988
-
- ~Getboolean ~Getchar
- ~Getresponse ~Getstr
- ~Getdigit ~Getdatestr
- ~Getnumber ~Gettimestr ~Qwik41 screen procedures
- ~Getbyte
- ~Getshortint
- ~Getword
- ~Getinteger
- ~Getlongint
-
- ~Getreal
-
- :Getboolean
-
- procedure getboolean
-
- (char_prompt: screen_text;
- atr,atc, {co-ordinates}
- cursor_attr,
- pattr,dattr: byte; {attributes}
- var response: boolean);
-
- procedure getbool
-
- (char_prompt: screen_text;
- atr,atc: byte; {co-ordinates}
- var response: boolean);
-
- :Getchar
-
- procedure getchar
-
- (char_prompt: screen_text;
- atr,atc, {co-ordinates}
- cursor_attr,
- pattr,chattr: byte; {attributes}
- var response: char;
- valid_keys: ok_keys;
- nullok: boolean;
- default_ch: char); {default response}
-
- :GetResponse
-
- procedure getresponse
-
- (char_prompt: screen_text;
- valid_keys: ok_keys;
- atr,atc: byte; {screen co-ords}
- makesure: boolean; {confirm with Y/N?}
- var response: char;
- default_ch: char); {default response}
-
- :Getdigit
-
- procedure getdigit
-
- (atr,atc: byte;
- nattr: integer);
-
- :Getnumber
-
- procedure getnumber
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: longint; {not checked if equal}
- pattr,nattr: byte; {attributes}
- var number: longint;
- maxvalue: longint; {implied type}
- default: numstring);
-
- :Getreal
-
- procedure getreal
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: real; {not checked if equal}
- decimal_places: integer; {or UserFormat no if negative}
- pattr,nattr: byte; {attributes}
- var number: real;
- default: numstring);
-
-
- :Getlongint
-
- procedure getlongint
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: integer;
- pattr,nattr: byte;
- var number: longint;
- default: numstring);
-
- :Getinteger
-
- procedure getinteger
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: integer;
- pattr,nattr: byte;
- var number: integer;
- default: numstring);
-
- :Getshortint
-
- procedure getshortint
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: integer;
- pattr,nattr: byte;
- var number: shortint;
- default: numstring);
-
- :Getword
-
- procedure getword
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: integer;
- pattr,nattr: byte;
- var number: word;
- default: numstring);
-
- :Getbyte
-
- procedure getbyte
-
- (num_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- low,high: integer;
- pattr,nattr: byte;
- var number: byte;
- default: numstring);
-
- :Getstr
-
- procedure getstring
-
- (str_prompt: string;
- pattr, {prompt attribute}
- atr,atc, {row,col}
- attr,cursor_attr: byte; {string & cursor attributes}
- var instr: string; {string to edit}
- picture: string; {input picture/mask}
- maxstrlen: plusbyte; {maximum length of string}
- status: byte);
- !
- Page 2
-
- procedure getstr {getstring with default attributes}
-
- (str_prompt: string;
- atr,atc: byte; {row,col}
- var instr: string; {string to edit}
- picture: string; {input picture/mask}
- maxstrlen: plusbyte; {max length of string, 1..255}
- status: byte);
-
- :Getdatestr
-
- procedure getdatestring
-
- (date_prompt: screen_text;
- pattr: byte; {prompt attribute}
- atr,atc, {screen co-ords}
- dattr, {attribute}
- cursor_attr, {cursor attribute}
- separator_attr: byte; {separator attribute}
- var datestr: string;
- status: byte);
- !
- Page 2
-
- procedure getdatestr
-
- (date_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- var datestr: string;
- status: byte);
-
- :Gettimestr
-
- procedure gettimestring
-
- (time_prompt: screen_text;
- pattr, {prompt attribute}
- atr,atc, {screen co-ords}
- tattr, {time attribute}
- cursor_attr, {date & cursor attributes}
- separator_attr: byte; {separator attribute}
- var timestr: string;
- status: byte); {bit 2: default = sys time}
- !
- Page 2
-
- procedure gettimestr
-
- (time_prompt: screen_text;
- atr,atc: byte; {screen co-ords}
- var timestr: string;
- status: byte); {bit 2: default = sys time}
-
-
- :Qwik41
-
- Qwrite (Row,Col: byte; Attr: integer; aStr: string);
- QwriteC (Row,ColL,ColR: byte; Attr: integer; aStr: string);
- QwriteA (Row,Col: byte; Attr: integer;
- ArrayLength: word; VAR aStr);
- QwriteMore (Attr: integer; aStr: string);
- QwriteMoreA (Attr: integer; ArrayLength: word; VAR aStr);
- !
- Page 2
-
- Qfill (Row,Col,Rows,Cols: byte; Attr: integer; Ch: char);
- Qattr (Row,Col,Rows,Cols: byte; Attr: integer);
- QfillC (Row,ColL,ColR,Rows,Cols: byte;
- Attr: integer; Ch: char);
- QattrC (Row,ColL,ColR,Rows,Cols: byte; Attr: integer);
- QfillMore (Rows,Cols: byte; Attr: integer; Ch: char);
- QattrMore (Rows,Cols: byte; Attr: integer);
-
- QstoreToMem (Row,Col,Rows,Cols: byte; VAR Dest);
- QstoreToScr (Row,Col,Rows,Cols: byte; VAR Source);
- !
- Page 3
-
- QviewPage (PageNum: byte);
- QwritePage (PageNum: byte);
-
- GotoRC (Row,Col: byte);
- CursorChange (New: word; VAR Old: word);
- CursorOff;
- CursorOn;
- WhereR: byte;
- WhereC: byte;
-