Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 100

Advertising
background image

Publication 1746-PM001A-US-P

8-6 Translating Your Program

The following table lists the translator configuration options available through the
COMPILER/PROGRAM SETUP dialog box. Included are descriptions specific to
the 1747-PBASE Translator.

Table 8.2 Translator Configuration Options

Options

Description

Command line

This allows you to select different parameters for the translator call.
The default command line is BTRAN <FILE> /I\ABBASIC\BAS. The
options for this line are BTRAN filename[.ext] [/Ipath] [/Tpath] where:
.ext - is replaced with .BDL
Ipath - is the path where your include files are located. It is your current
working directory if omitted here.
Tpath - is the path where the translator puts the translated BASIC file.
It will be put in the same directory as the source file if omitted here.
The following example would translate the file in the current working
directory using include files from a directory called INCLUDE in the D:
drive. The translated file would be saved on the A: drive:
BTRAN <FILE> /ID:\INCLUDE /TA:

Program type

This allows you to select a program or compiler type for each compiler–
program interface.

Memory required

Enter the amount of memory required for your compiler in k bytes
(0=all). When used in conjunction with swap method, this parameter
helps determine how much memory swapping is necessary.

Swap method

The options here determine the location where memory swaps take
place when they are necessary. They are affected by the amount
entered under memory required. Use default should normally be
selected for this. Options are:
Use default - selecting this causes the swap method selected when
configuring Swapping/expanded memory to be used.
No swap - no additional memory is freed before invoking the compiler/
program.
To disk only - causes swapping the software out to disk whenever
invoking the compiler/program. Use this if you need additional
memory space but do not have expanded memory in your personal
computer.
To EMS only - causes swapping the software to expanded memory
whenever invoking the compiler/program.
To EMS then to disk - causes all available expanded memory to be used
before any swapping to disk takes place.

Options

This includes a number of miscellaneous options as follows:
Clear screen - clears the BASIC Development Software from the screen
during a translate/compile. This allows you to watch for errors in the
compile at the DOS level. This should normally not be selected (off).
Save all files - When (on), this forces all files that are currently open
and have been altered to be saved before the translator is executed.
When (off), only the file in the currently active window will be saved
before the translator is executed.
Reload file - This reloads the file just compiled into the current window.
This is useful if your compiler alters the original file in some way.
This should normally not be selected (off).
Do NOT process compiler errors - If this option is selected, then
compiler errors are not processed. This should normally not be
selected (off).

Advertising