Drawing lines -8, Drawing lines – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 56

Advertising
background image

Publication 1746-PM001A-US-P

4-8 Editing a Program

The Other menu provides access to the first three of the advanced features
described in this section.

Path: Toplevel menu

Edit mode

Other

QuickStroke: available for individual items within the other

menu.

Figure 4.5 Other Menu

Drawing Lines

Path: Toplevel Menu

Edit mode

Other

Linedraw

QuickStroke: Toplevel Menu

Edit mode

[Alt-L]

The linedraw feature, available through the Other menu, is useful in creating
boxes, bar graphs, and tables. When used in a print statement, these lines translate
for use in any BASIC program executed through the BASIC module.

Linedraw allows you to draw single or double lines and boxes in a window. The
lines are saved with the file and translated into BASIC code if you are using the
1747-PBASE Translator. Be aware that some printers may require special line
characters to be defined in order to print the lines.

Hypertext help is available with more details on this feature.

Your BASIC Development Software comes with an example line-drawing program
that uses this feature with programming macros. You can load this program into a
window and review it as an example. It is called LINEDRAW.BDL and resides in
the BAS sub-directory.

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

+----------------OTHER----------------+

+=+A+==================================|Select a project file... <AltENTER>|=+

|>> EOF << |User defined program... | |

| |-------------------------------------| |

| |Translate/Compile <CtrlF8> | |

| |find neXt error <CtrlF2> | |

| |-------------------------------------| |

| |Calculator <AltF2> | |

| |Ascii table <AltA> | |

| |shell to DOS <AltF5> | |

| |Linedraw <AltL> | |

| |-------------------------------------| |

| |teRminal [RS±232] <F3> | |

| +-------------Cancel<ESC>-------------+ |

| |

| |

| |

| |

| |

| |

| |

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

L:3 C:1 1747-PBASE V x.xx [Text Edit] Ins 175k 06-12-91 1:15pm

1 Help 2 3 4 5 6 7 8 9 0

Advertising