Sharp OZ-707 Operation Manual - Page 113

key executes

Page 113 highlights

STOP p FORMAT: STOP Abbreviation: S. See Also: CONT PURPOSE: Halts execution of a program for diagnostic purposes. REMARKS: When STOP is encountered in program execution, execution halts and a message such as "Break in 200" is displayed where 200 is the number of the line containing the STOP. STOP is used during the development of a program to check the flow of the program or to examine the state of variables. Execution may be restarted with the CONT command or ISHIFT I [SZJ keys. Pressing the [YJ key executes the program statement-by-statement. STR$ p o FORMAT: STR$ expression Abbreviation: STR. See Also: VAL PURPOSE: Converts numeric data into string data. REMARKS: The STR$ function changes numeric data to a string. The string will be composed of the same digits as the original number. The STR$ function has the opposite effect of the VAL function. If the numeric data is negative, the string will be preceded by a minus (-) sign. When a numerical value is converted into a character string using the STR$ command, the first character is the sign (space for +) e.g. B$=·~ 12.3456". 214 215

  • 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

STOP
FORMAT:
STOP
Abbreviation:
S.
See
Also:
CONT
PURPOSE:
Halts execution of a program for diagnostic purposes.
REMARKS:
When STOP is encountered in program execution, execution halts and
a message such as "Break in 200" is displayed where 200 is the
number
of
the line containing the STOP. STOP is used during the
development
of
a program to
check
the flow
of
the program
or
to
examine the state
of
variables. Execution may be restarted with the
CONT command or
I
SHIFT
I
[SZJ
keys. Pressing the
[YJ
key executes
the program statement-by-statement.
214
p
STR$
FORMAT:
STR$
expression
Abbreviation:
STR.
See
Also:
VAL
PURPOSE:
Converts numeric data into string data.
REMARKS:
p
o
The STR$ function changes numeric data to a string. The string will be
composed of the same digits as the original number. The STR$
function has the opposite effect
of
the VAL function.
If the numeric
data
is negative, the string will
be
preceded by a minus
(-)
sign.
When
a
numerical value is converted into a character string using the
STR$ command, the first character is the sign (space for +) e.g.
B$=ยท~
12.3456".
215