參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 93/158頁
文件大小: 752K
代理商: NSB8
ITALIAN TECHNOLOGY
grifo
Page 81
NSB8 Rel. 5.10
“Z” > “COCOA”
“123” < “124”
“123” < “ABC”
“ABC” < “abc”
“ABC” > “AB”
“120” < “75”
“AB ” > “AB”
“AB1” > “AB01”
“ , ” > “ ! “
NOTE:
The logical operators AND, OR and NOT may not be used to combine the effects of two or more
string comparisons in an IF statement. These three operators may be used in numeric comparisons
only.
ASSIGNMENT TO STRINGS AND SUBSTRINGS
Any legal string expression may be assigned to a string variable or any part of a variable (by the use
of substring notation), as in the following examples:
A$=”CAT”
Q7$(1,3)=”DOG”
In the second example, note that the first three characters of Q7$ will become “DOG”. Any
characters in Q7$ past the third will not be changed.
If a string value is assigned to a string variable which has been dimensioned to be too small to hold
the entire value, its rightmost characters are discarded until the resulting truncated value will fit in
the variable. Similarly, if an assigned value is too big to fit in a substring interval, it is truncated to
the proper length. As an illustration, try running the following program:
10 REM Demonstration of automaticstring truncation in assignment.
100 DIM L$(13)
110 L$=”ABCDEFGHIJKLMNOPQRSTUVWXYZ”
120 PRINT L$
130 L$(2,3)=”12345”
140 PRINT L$
The output of the program looks like this:
ABCDEFGHIJKLM
A12DEFGHIJKLM
The value shown on the first line of output is a result of the assignment statement in program line
110. Although the attempt was made to assign the entire alphabet to L$, only the first 13 characters
fit, due to the dimension declared for L$ in line 100. The rest of the alphabet was discarded.
The second output line shows the value produced by the assignment in line 130. The assignment asks
that a five character string value be squeezed into a two character interval, which is not possible. As
a result, BASIC assigned only the first two characters of “12345”, or “12” to the substring, ignoring
the rest.
When assigning to a substring interval, if the value assigned is smaller in length than the substring
interval, any remaining characters in that interval are not modified, as in the following example
program:
相關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 產(chǎn)品: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 產(chǎn)品: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 產(chǎn)品: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 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復時間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel