參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 88/158頁
文件大?。?/td> 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 76
NSB8 Rel. 5.10
50
60 NEXT
PRINT \ REM Print <CR> before starting next row
Space for arrays is reserved by the programmer using the DIM statement. A DIM statement specifies
how many dimensions an array will have, and what the maximum index will be in each dimension.
10 DIM X (1000), Y (2,3), Z (10,10,10)
The above defines an array X consisting of elements indexed from 0 to 1000 (1001 elements
altogether), a two dimensional array Y with maximum row index of 2 and maximum column index
of 3, and a three dimensional array Z with dimensions of 10, 10, and 10. In keeping with the zero
element convenience feature mentioned above, each array dimension includes a zero element, so that
array Z above actually contains 11 elements, instead of 10, in each dimension, indexed from 0 to 10.
When more than one dimension is specified, the maximum indices must be separated by
commas. Commas must also separate array declarations when more than one occurs in a single DIM
statement.
The maximum index for any dimension in an array declaration may also be given in the form of a
numeric expression. If the variable Q contains the value 10, then the following DIM statement will
result in the creation of the same arrays as the previously given one:
10 DIM X (Q*Q*Q), Y (Q/5,3), Z (Q,10,SQRT (Q*Q) )
An array may have any number of dimensions, but arrays with many dimensions tend to take up huge
amounts of memory space. Consider that an array F, declared as F (10,10,10,10), will result in the
reservation of 14,641 variable spaces in memory! This corresponds to 11*11*11*11, not 10*10*10*10,
remember the 0 element in each dimension!. Each element of the array takes up several bytes, and
chances are this particular array would be too large to fit in the memory of your computer.
Whenever there is not enough memory available in the program/data area to hold an array, a
MEMORY FULL ERROR occurs.
DEFAULT DIMENSIONS
All arrays of more than one dimension and most one dimension arrays must be declared in DIM
statements before being used. However, it is not necessary to declare a one dimensional array of
maximum index 10 or less. Any array which is used without first being declared in a DIM statement
is automatically created by BASIC to be one dimensional, and of maximum index 10. If you desire
a specific maximum index greater or smaller than 10, however, you must use a DIM statement to
create the array. An attempt to reference an element in a multi dimensional array before the array has
been dimensioned in a DIM statement will fail, causing an OUT OF BOUNDS ERROR. When
dimensioned, an array is automatically initialized so that all of its elements contain the value 0.
ARRAYS MAY NOT BE REDIMENSIONED
No matter how created, either by an explicit declaration in a DIM statement or automatically, by
BASIC, no array may be redimensioned in another DIM statement later during program
execution. Specifically, this means that the size of arrays may not grow or shrink during the RUN
of a program. Any attempt to redimension an existing array will result in a DIMENSION ERROR.
相關(guān)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(雙偏置電阻晶體管)
相關(guān)代理商/技術(shù)參數(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 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/45 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/81 功能描述:二極管 - 通用,功率,開關(guān) 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:STMicroelectronics 產(chǎn)品:Switching Diodes 峰值反向電壓:600 V 正向連續(xù)電流:200 A 最大浪涌電流:800 A 配置: 恢復(fù)時間:2000 ns 正向電壓下降:1.25 V 最大反向漏泄電流:300 uA 最大功率耗散: 工作溫度范圍: 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:ISOTOP 封裝:Tube
NSB8AT-E3/31 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel