參數(shù)資料
型號(hào): NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 94/158頁
文件大小: 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 82
NSB8 Rel. 5.10
10 REM More substring assignment.
20 DIM L$(13)
30 L$=”ABCDEFGHIJKLM’
40 PRINT L$
50 L$(5,9)=”12345”
60 PRINT L$
70 L$(5,9)=”abc”
80 PRINT L$
Here are the three output lines produced by the program:
ABCDEFGHIJKLM
ABCD12345JKLM
ABCDabc45JKLM
In the assignment of line 50, “12345” exactly fit the substring L$(5,9). However, in line 70, “abc”
was two characters short, so only the first three characters of the substring, characters 5 through 7,
were modified.
It is also possible to use the open ended substring form to specify a substring interval into which a
value is to be assigned. For example, L$(5) is taken to specify the same interval as L$(5,LEN(L$)).
where LEN(L$) stands for the current length of L$. In the substring assignment example above,
exactly the same results would have been obtained if the substring interval expressions in the string
assignment statements had been replaced by open ended substring expressions.
Assignment of the null string to any substring specified by regular or open ended substring notation
causes no change in the string.
MAXIMUM LENGTH AND CURRENT LENGTH
The maximum length of a string variable is the maximum number of characters which it can
hold. M$, dimensioned to 50, can hold up to 50 characters at once, but no more. On the other hand,
a string’s current length (as determined by the LEN function) is the number of characters which the
variable actually does contain at any one time. Thus, if M$ contains “CAT”, its current length is 3,
despite the fact that its maximum length is 50. As long as M$=”CAT”, BASIC statements and string
expressions may not access any character positions in M$ beyond the third. While M$=”CAT”, the
character positions beyond the third simply do not exist, and a reference such as M$(3,5) is
illegal. But, if M$ is changed to “STICK”, then its current length becomes 5, and M$(3,5) is
allowed. However, it is always incorrect to reference a character position beyond the maximum
length of the string. In this example of M$, the substring reference M$(40,60) will always be illegal,
since M$ can never grow larger than 50 characters in length, and therefore, the character positions
from 51 to 60 will never exist.
CHARACTER SET IN BASIC
Up to now, character has been used in its intuitive sense, as a digit, letter or punctuation character
which may be typed in by a user or printed on a terminal. In fact, the BASIC character set includes
invisible control characters and the many undefined characters which may be represented as byte (8
相關(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ù)時(shí)間: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ù)時(shí)間: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ù)時(shí)間: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ù)時(shí)間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel