The text of a manual · part 41 of 47
PDT 1100 Terminal Programmer's Guide, pages 360 to 362
Pages 360 to 362 of 413: Manipulating System Date, Current Time, or Timers; Communicating with Bar Code Device; Manipulating Data Files and User Program Files
The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PDT-1100
Page 360
Quick Reference for Statements and Functions
Manipulating System Date, Current Time, or Timers Functions
Definitions
DATE$
Returns the current system date or sets a specified system date.
TIME$
Returns the current system time or wake-up time, or sets a specified system time or wake-up time.
TIMEA
Returns the current value of timer A or sets timer A.
TIMEB
Returns the current value of timer B or sets timer B.
TIMEC
Returns the current value of timer C or sets timer C.
Communicating with I/Os Statements
Definitions
OUT
Sends a data byte to an output port.
POWER
Controls the automatic power-off facility.
WAIT
Pauses program execution until a designated input port presents a given bit pattern.
Functions
Definitions
FRE
Returns the number of bytes available in a specified area of the memory.
INP
Returns a byte read from a specified input port.
K-5
Page 361
PDT 1100 Terminal Programmer’s Guide
Communicating with Bar Code Device Statements
Definitions
CLOSE
Closes file(s).
INPUT#
Reads data from a device I/O file into specified variables.
OPEN "BAR:"
Opens the bar code device file, also activates or deactivates the reading confirmation LED and the beeper individually in the PDT 1100.
Functions
Definitions
CHKDGT$
Returns a check digit of bar code data.
EOF
Tests whether the end of a device I/O file has been reached.
INPUT$
Returns a specified number of characters read from the keyboard or from a device file.
LOC
Returns the current position within a specified file.
MARK$
Returns a bar code type and the number of digits of the bar code.
K-6
Page 362
Quick Reference for Statements and Functions
Manipulating Data Files and User Program Files Statements
Definitions
CLFILE
Erases the data stored in a data file.
CLOSE
Closes file(s).
FIELD
Allocates string variables as field variables.
GET
Reads a record from a data file.
KILL
Deletes a specified file from the memory.
OPEN
Opens a file for I/O activities.
PUT
Writes a record from a field variable to a data file.
Functions
Definitions
LOC
Returns the current position within a specified file.
LOF
Returns the length of a specified file.
SEARCH
Searches a specified data file for specified data, and then returns the record number where the search data is found.
K-7