Intermec Janus 2020 Reference Manual - Function Libraries
JANUS PSK for Ada Reference Manual
1-6
Function Libraries
The Intermec library functions provide extensive access to reader services.
The supported language functions are stored in libraries on the
Programmer’s Software Kit Language Libraries disk. The list of supported
languages includes:
•
Borland C/C++
•
Microsoft C/C++
•
Microsoft Visual C/C++
•
Microsoft QuickBasic
•
Microsoft Visual Basic for MS-DOS
•
Janus/Ada
When you write applications in Ada, link your program to the library by
including the header files in your program, and then invoke the reader
services using the Ada reader service command. See “Building an
Executable File” in Chapter 2 for instructions on compiling, binding, linking,
and running an Ada program. Refer to the PSK Reference Manual for more
information about other language support.
Software Interrupts
The reader supports special software interrupts in addition to those
available on a normal PC. If your programming language supports software
interrupts, you can write applications that use the reader services. However,
it is much easier to use the PSK library functions.
Interrupts are a very low-level method of controlling a computer.
Programming with interrupts is more difficult than with a high-level
language (such as Ada, C, or Basic).
Some of the most popular languages have built-in commands for triggering
software interrupts (Microsoft C, Borland C++, and QuickBasic, for
example). Languages that do not have built-in interrupt commands
sometime allow you to access interrupts by embedding fragments of
assembly language inside your program. There are other methods for
triggering software interrupts, and you can generate software interrupts
from almost any language.