Sharp OZ-707 Operation Manual - Page 59

Autogoto, Basic

Page 59 highlights

AUTOGOTO p FORMA T: AUTOGOTO {line number} *Iabet Abbreviation: AU. See Also: ARUN, GOTO PURPOSE: Starts a program automatically when the power is turned on and the RUN mode is specified. REMARKS: Include AUTOGOTO in the first line of a program (the first statement) to start the program when the power is turned on and is in the RUN mode. This functions as if a GOTO command had been entered from the keyboard. AUTOGOTO is similar to ARUN but does not clear all variables and arrays before starting the program. If the power is turned off in the CARD mode, the Card will be in the RUN mode when the power is turned on again, and the program will be executed automatically. Turning the power on after it has been turned off by the Auto OFF function will not execute the program automatically. *Iabel must be the first statement of a line within the program, and must consist of alphanumeric characters or symbols. BASIC o FORMAT: BASIC IENTER I Abbreviation: BA. See Also: TEXT PURPOSE: Clears the text mode. REMARKS: Valid only as direct input in the PRO mode. Executing this command clears the Text mode and returns the mode to BASIC. As the mode returns to BASIC, the prompt symbol changes from "". Changing from the Text mode to the BASIC mode usually converts the text held in the Card memory to a program (internal code). All lo,",:ercase lett:r~ other than those in character strings enclosed in quotation marks ( ) or following a REM ( , ) statement are automatically converted to uppercase letters. Abbreviations such as "P." and "I." are not converted to their respective commands. (To do so, move the cursor to the line and press the IENTER I key.) Because of the characteristics of the BASIC function c~mmands and formats included in the text but not found in the Card Will not be converted. ~u ring program. conversion, ":!oK" is displayed at the bottom right of the display. ApprOXimately 600 bytes are required for work area to convert a program. If a converted line is too long, an error will occur. If a password has been set, executing the BASIC command results in an error. 106 107

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

AUTOGOTO
FORMA
T:
AUTOGOTO {line number}
*Iabet
Abbreviation:
AU.
See
Also:
ARUN, GOTO
PURPOSE:
Starts a program automatically when the power is turned on and the
RUN mode is specified.
REMARKS:
p
Include AUTOGOTO in the first line of a program (the first statement)
to start the program when the power is turned on and
is
in the RUN
mode. This functions as if a GOTO command had been entered from
the keyboard. AUTOGOTO is similar to ARUN but does not clear all
variables and arrays before starting the program. If the power is turned
off in the CARD mode, the Card will be in the RUN mode when the
power is turned on again, and the program will be executed
automatically.
Turning the power on after it has been turned off by the Auto
OFF
function will not execute the program automatically.
*Iabel
must be the first statement of a line within the program, and
must consist of alphanumeric characters or symbols.
106
BASIC
FORMAT:
BASIC
I
ENTER
I
Abbreviation:
BA.
See
Also:
TEXT
PURPOSE:
Clears the text mode.
REMARKS:
Valid only as direct input
in
the PRO mode.
Executing this command clears the Text mode and returns the mode to
BASIC.
As
the mode returns to BASIC, the prompt symbol changes
from
"<"
to
">".
Changing from the Text mode to the BASIC mode
usually converts the text held in the Card memory to a program
(internal code).
All lo,",:ercase
lett:r~
other than those
in
character strings enclosed
in
quotation marks (
) or following a REM ( , ) statement are
automatically converted to uppercase letters.
Abbreviations such as "P." and "I." are not converted to their respective
commands. (To do so, move the cursor to the line and press the
I
ENT
ER
I
key.) Because of the characteristics of the BASIC function
c~m
mands
and formats included in the text but not found
in
the Card
Will
not be converted.
~u
ring
program. conversion,
":!oK"
is displayed at the bottom right of the
display. ApprOXimately 600 bytes are required for work area to convert
a program.
If a converted line is too long, an error will occur.
If a password has been set, executing the BASIC command results
in
an error.
107
o