Configuring your filename extensions, Configuring your filename extensions -8, Press – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 42: You get the

Advertising
background image

Publication 1746-PM001A-US-P

3-8 Configuring Your Software

Configuring Your
Filename Extensions

Path: Toplevel Menu

Configuration menu

Setup and

Configuration menu

Filename extensions

Path: Main Menu

Config

Setup and Configuration menu

Filename extensions

To configure your filename extensions:

1. Select

Filename extensions

from the Setup and Configuration menu. You

get a list of the filename extensions that are currently recognized by the BASIC
Development Software. You can add (Create) or remove (Delete) extensions
from this list as needed.

Effect on Programming: Upon loading a file, the software searches this list for
the extension of the file being loaded.

Figure 3.3 Extension Setup

2. Press

[Tab]

to move to the next option. Press

[Enter]

to make selection.

3. Highlight the filename extension you wish to edit (BDL in this case) from the

extension setup list and select

Edit<F3>.

You get the

EXTENSION SETUP

dialog box for the BDL extension. There you can see that the Edit mode for
BDL files is text, the Indent style is smart, the Tab spacing is 2, the Right
margin is 78 and Word wrap is off.

Effect on Programming: If, for example, you select a program called
FIRST.BDL to be loaded into an edit window, the software searches the
filename extension list, and finds BDL. It refers to the parameters entered in
the

EXTENSION SETUP

dialog box for BDL as the file is loaded. When you edit

File Window Block cUrsor Search Text Layout Print Macro Config Other Exit

+------SETUP AND CONFI+--------EXTENSION SETUP----------+

+|DOS=3.30 CPU=80386 | Create<Ins> Delete<Del> |==========?No-File?==+

||Video Card = VGA Colo| Copy<F4> Edit<F3> | |

||PBASE Path = C:\ABBAS| | |

||Expanded Memory N/A | DEFAULT

| |

||Serial # 1234567 | BDL

| |

||---------------------| BAS | |

||Edit settings... | DOC

| |

||Display setup... | | |

||Mouse / Key repeat se| Edit<ENTER> Done<ESC> Help<F1> | |

||Filename extensions..+=================================+ |

||Printer... | |

||sWapping / Expanded memory... | |

||Backups / Temp files / Autosave...| |

||Search and Replace defaults | |

||Terminal Selection Menu... | |

||saVe configuration and exit | |

|| | |

|+========Exit Setup<ESC>===========+

| |

+-------------------------------------------------------------------------------+

L:3 C:1 1747-PBASE V x.xx [Text Edit]

=

Ins 175k 06-12-91 1:15pm

LIST BOX: Next field<TAB>, Previous<ShftTAB>,

↑↓

<PgUp><PgDn><Home><End>

Advertising