參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 91/158頁
文件大?。?/td> 752K
代理商: NSB8
ITALIAN TECHNOLOGY
grifo
Page 79
NSB8 Rel. 5.10
(current length = 0).
Immediately after being dimensioned, a string is initialized to contain all blanks. Thus, if A$ is
dimensioned to be 26 characters long, it initially contains a string of 26 blanks.
SUBSTRINGS
The programmer can access parts of a string, smaller segments consisting of one or more consecutive
characters from within the string. Such a segment is called a substring.
Substrings of string variables are represented by substring notation: adding a substring interval, in
parentheses, to the variable name. For example, assume that A$ holds the string value
“ABCDE” (unless otherwise stated, this will be the permanent value of A$ throughout the
discussion). To represent its substring “CD”, you would write A$ (3,4), which specifies a substring
consisting of the 3
rd
through the 4
th
characters of A$. A$ (3,3) would yeld the value of “C”, and A$
(2,5) would represent “BCDE”.
Either or both of the numeric values in a substring interval may be represented by any numeric
expression, as long as each expression evaluates to a value greater than or equal to 1 and less than
or equal to the current number of characters in the string. Whenever any of the numeric values in a
substring interval are non integer, BASIC ignores the fractional parts. Thus, 5.6 is taken as 5, and 1.23
is taken as 1 If A=3 and B=4 then A$ (A,B) would be the same as A$ (3,4), or “CD”. If B is more
than 5, or A is less than 1, A$ (A,B) would not be allowed, causing an OUT OF BOUNDS
ERROR. This error will also occur if the value of the first expression is greater than the value of the
second. Therefore, a backwards substring such as A$ (4,2) is illegal.
THE OPEN ENDED SUBSTRING
A special form of substring notation is used to reference a substring consisting of all the characters
from a given starting position in the string through its end. open ended substring notation uses only
one numeric expression, which specifies the starting position within the string, and which must be
greater than or equal to 1 and less than or equal to the length of the original string. For example, A$(3)
stands for “CDE”. Note that the value of A$ as a whole is the same as the value of the open ended
substring A$(1). A$(5) and A$(5,5) are the same as well, since the 5th character is the last character
in A$. Use of open ended substring notation eliminates the need, in certain situations, to know the
current length of the original string.
STRING CONCATENATION
The concatenation operation may be performed on strings, symbolized by the plus operator (+). This
is not to be confused with numeric addition. Instead, concatenation is the joining of two strings, front
to back, rather like coupling railroad cars tigether. For example, “CAR”+”LOAD” represents the
same value as “CARLOAD”. Any string value may be concatenated with any other string value to
yeld a third value which consists of the two linked together. A$(2,3)+A$(2) yelds the value
“BCBCDE” (remember that A$ has held “ABCDE” throughout this discussion). Concatenation
operations can be chained, such as in
A$(1,1)+A$(3,3)+A$(3,3)+A$(5)+A$(4)+” MEANS YELD”
which gives the value “ACCEDE MEANS YELD”.
相關(guān)PDF資料
PDF描述
NSB9435T1 High Current Bias Resistor Transistors(高強(qiáng)度電流偏置電阻晶體管)
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