參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 104/158頁
文件大?。?/td> 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 92
NSB8 Rel. 5.10
In example #6, the loop controlled by J is the body of the loop controlled by I. The statements from
20 to 40 will be repeated 10 times (as I goes from 0 to 9), but these statements in themselves comprise
a loop which will also repeat 10 times. The net effect is that, for every change in J, line 30 will have
been executed once, but for every chenge in I it will have been repeat 10 times. As a result of example
#6, line 30, the body of the inner loop, will be repeated 10 times 10, or 100, times. The following is
a sample of the output generated:
0
0
0
:
: etc.
:
9
9
9
1
2
3
7
8
9
FOR loops may be nested to any arbitrary depth. However, there must always be a NEXT to match
each FOR. Also, a different variable must be used to control each nested loop.
THE OPTIONAL CONTROL VARIABLE IN NEXT
The control variable of a loop may be optionally be specified in the next statement which ends that
loop.
Example #7
10 FOR I=1 TO 10
20 FOR J=1 TO 10
30 PRINT I, J
40 NEXT I
50 NEXT J
Inclusion of the control variable in the NEXT statement is useful on clarifying the program text
(determining which NEXT goes with which FOR). If the optional control variable is specified on
the NEXT statement, BASIC will perform a syntax check during program execution and will cause
a program error of the control variable specified in the NEXT is not the same as that specified in the
matching FOR.
USING EXIT
A FOR loop may be terminated before all the specified repetitions have been performaded if an EXIT
statement is executed. EXIT is used to transfer program control to line outside the loop, that is before
the loop’s FOR statement or after its NEXT. EXIT is like a GOTO, in that it causes a transfer of
control to the specified line number, but it also tells BASIC to end the current FOR loop: no more
repetitions will be necessary. BASIC uses memory storage to remember information about the
FOR loop while it is repeating. EXIT tells BASIC to release the memory used by the current loop.
If it is not used to jump out of a FOR loop, then subsequent loops may not execute correctly.
相關PDF資料
PDF描述
NSB9435T1 High Current Bias Resistor Transistors(高強度電流偏置電阻晶體管)
NSBA114EDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBA114YDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBC143TPDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBC144EPDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
相關代理商/技術參數(shù)
參數(shù)描述
NSB8AT 制造商:VISHAY 制造商全稱:Vishay Siliconix 功能描述:Glass Passivated General Purpose Plastic Rectifier
NSB8AT/31 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/45 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/81 功能描述:二極管 - 通用,功率,開關 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:STMicroelectronics 產品:Switching Diodes 峰值反向電壓:600 V 正向連續(xù)電流:200 A 最大浪涌電流:800 A 配置: 恢復時間:2000 ns 正向電壓下降:1.25 V 最大反向漏泄電流:300 uA 最大功率耗散: 工作溫度范圍: 安裝風格:SMD/SMT 封裝 / 箱體:ISOTOP 封裝:Tube
NSB8AT-E3/31 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel