Rockwell-automation 2708-NBD VBASIC Language Development Kit Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
CROSS-COMPILER (LXB)
Chapter 3
The A-B VBASIC
33
Examples:
LXB
In the case above, the operator is prompted for 3 file names.
LXB Prog1
In this case, the file Prog1.BAS is read, and Prog1.LXE is the product. (This
is the fastest compile option.)
LXB Prog1,Prog1,Prog1
File Prog1.BAS is the source, Prog1.LXE and Prog1.LST are generated.
LXB Prog1,Download,PRN
Generate Download.LXE, and send listing directly to the printer (PRN).
LXB Prog1,Startnow,Prog1,Wait
Generate Startnow.LXE and Wait.PGM output files, and Prog1.LST as the
listing file.
A Source File Specification
The A-B VBASIC compiler requires a plain ASCII text file. By default, the
Visual BASIC editor saves the source text in a compacted format. Be sure to
use the SAVE AS option in Microsofts Visual BASIC to save the source as
an ASCII file. LXB cannot recognize the compacted representation.
For a tutorial on BASIC programming, please refer to Microsofts Learning
and Using Microsoft Visual BASIC, and Programming in BASIC, both of
which are supplied with the Application Generator Software (Catalog No.
2708-NAG) and BASIC Language Development Kit Software (Catalog No.
2708-NBD). A list of the STATEMENTS & FUNCTIONS supported by A-B
VBASIC can be found in Appendix C of this manual.
Invoking the Compiler
(contd)
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 83 84

Comentarios a estos manuales

Sin comentarios