Amos Professional Manual  Contents  Index

Windows


For now, run the last example from Direct mode and enter the following statements:
D> Window 1: Print "AMOS"
D> Window 3: Print "open windows on the world"
D> Window 2: "lets me"

The active window is host to the flashing text cursor, unless it has been made invisible with a CURS OFF command.

BORDER
instruction: change window border
Border number,paper, pen

This command allows you to change the style and colour of the current window border. Border style numbers range from 1 to 16, and the paper and pen colours can be selected from any available colour index numbers. Any of these parameters can be omitted from the BORDER instruction as long as the commas are included for any missing values: If the last example is still on screen, enter these lines from direct mode:

D> Border 3,2,3
D> Border 2,,

TITLE TOP
instruction: set title at top of current window
Title Top title$

Use this command to set a border title at the top of the current window to your chosen title string. This facility will only operate with bordered windows, as follows:

E> Cls: Wind Open 4,1,1,20,10,1
   Title Top "Top of the morning"

TITLE BOTTOM
instruction: set title at bottom of current window
Title Bottom title$

Similarly, this instruction assigns a string to the bottom title of the current window, like this:

E> Cls : Wind Open 5,75,50,24,15
   Border 5,6,
   Title Bottom "Bottom of the barrel"
Back    Next
05.07.02