參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 92/158頁
文件大小: 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 80
NSB8 Rel. 5.10
STRING FUNCTIONS
BASIC includes certain built in functions which return useful string values. It is also possible to
define single line and multiple line user functions which return string values. See section FUNCTIONS
for more detailed information.
STRING EXPRESSIONS
A string expression is a string variable, substring, string function, or a quoted string literal. The
concatenation of two string values is also a string expression. Long, involved compound expressions
may be formed by combining one or more of the elements mentioned above. For example:
A$
F$+”,2”
A$(1,X)+CHR$(97)+A$+”GO FOR BROKE”+FNS$(25)
The built in string functions (e.g. CHR$) and the user defined string functions (e.g. FNS$) will be
discussed later.
STRING COMPARISONS
String values may be compared using the comparison operators = , > , < , <= , >= , and <> . BASIC
compares string values using the following rules:
1) Two string values are equal only if they have the same number of characters, and have
matching characters in each character position.
2) Strings are compared character by character, left to right, until a difference occurs or one of
the strings ends.
3) If a difference exists, and the ascii value of the first different character in the first string is less
than that of the corresponding character in the second string, then the first string is less than
the second string. If the character in the first string is greater than its counterpart in the second
string, then the first string is greater than the second.
4) If one of the strings ends before a difference is found, the shorter string is considered to be
less than the larger one.
5) As a consequence of rule #4, the null string is always less than a non null string.
When using strings composed solely of alphabetic characters of the same case (either upper or lower,
but not both), this scheme corresponds to comparsion by dictionary order, where an entry is
considered to be less than another if it comes before the other in the dictionary, and greater than the
other if it comes after. Thus bird is less than (comes before) tree, and zero is greater than (comes after)
aardvark. The difference between string comparisons in BASIC and regular word comparison by
alphabetic order lies solely in the fact that the ascii character set, used to define alphabetic order in
BASIC, has 128 letters as opposed to our usual 26.
To give you a better idea of this expanded alphabetic order, here are some samples of string
comparisons; use the five rules above and a standard table of ascii codes to check the following
examples:
相關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ù)
參數(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