Previous | Contents | Index |
To create libraries for use with INTOUCH, you will need to follow these steps:
10 SUB MULT(IN1%, IN2%, OUT%) OUT% = IN1% * IN2% END SUB |
$ BASIC MULT |
UNIVERSAL = module [, module...] |
UNIVERSAL = MULT |
SYMBOL_VECTOR = (module1=PROCEDURE) SYMBOL_VECTOR = (module2=PROCEDURE) . . . |
SYMBOL_VECTOR = (MULT=PROCEDURE) |
LINK/SHARE routine_name,options_file/OPTIONS |
$ LINK/SHARE MULT,MULT/OPTIONS |
You have now created the shareable image MULT.EXE, containing the routine MULT. You can now use this routine from within INTOUCH.
To use the routine, first name the library with a LIBRARY statement, supplying the complete file specification INCLUDING DEVICE AND DIRECTORY. Then, execute the routine with the CALL statement.
10 library "DUA1:[STEVE.MODULE]MULT.EXE" call mult(8%, 9%, answer%) print 'The answer is '; answer% |
You can have any number of LIBRARY statements in a program. When you call a routine, each library specified is checked in turn for the routine.
Multiple database engines (record management systems) can be used with INTOUCH. The following database engines are currently supported:
The SETUP routine tells INTOUCH where data files are located and what record management systems are used. Once you have defined your structures using SETUP, you can use INTOUCH's structure statements to manipulate the data.
For detailed information on INTOUCH interfaces to the various database engines, you can refer to:
Index | Contents |