[Guide to AmigaDOS 3\Clock]
Format: CLOCK [DIGITAL] [<LEFT>] [<TOP>] [<WIDTH>] [<HEIGHT>]
[24HOUR] [SECONDS] [DATE] [<FORMAT>] [PUBSCREEN
<public screen name>]
Template: DIGITAL/S, LEFT/N, TOP/N, WIDTH/N, HEIGHT/N, 24HOUR/5,
SECONDS/5, DATE/5, FORMAT/N, PUBSCREEN/K
Purpose: To provide an on-screen clock.
CLOCK allows you to display an on-screen clock. The DIGITAL option opens a
The LEFT, TOP, WIDTH, and HEIGHT options allow you to specify the size and
position of the clock. The keywords are optional; however, the clock
understands numerical arguments by their position, as outlined below:
The clock will open <n> pixels from the left edge of the screen.
The clock will open <n> pixels from the top of the screen.
The clock will be <n> pixels wide.
The clock will be <n> pixels high.
For example, if you only wanted to specify the width and height of the Clock,
you would have to use the WIDTH and HEIGHT keywords. If you only entered two
numbers, the clock would interpret them as the LEFT and TOP positions.
WIDTH and HEIGHT are not available if you use the DIGITAL option. You cannot
change the size of the digital clock, although you can specify its position.
If the SECONDS option is specified, the seconds are displayed.
If the DATE option is specified, the date is displayed.
To open a clock that is 75 pixels from the left edge of the screen, 75
pixels from the top edge of the screen, 300 pixels wide and 100 pixels high,
1> CLOCK 75 75 300 100
To use the SECONDS, DATE and 24HOUR options, enter:
1> CLOCK SECONDS DATE 24HOUR
To open a digital clock that is 320 pixels from the left edge of the screen
and in the screen's title bar (0 pixels from the top), enter:
1> CLOCK DIGITAL 320 0
Converted from AmigaGuide format to basic HTML by Jaruzel.