參數(shù)資料
型號: NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 112/158頁
文件大?。?/td> 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 100
NSB8 Rel. 5.10
APPENDING TO SEQUENTIAL FILES
To add new data to the end of an existing sequential file, it is necessary to READ to the endmark
before beginning to WRITE. If the sequential file “DAT7” already contains the numbers 1 to 10, then
the following program will add the numbers 11 to 20 to its end.
10 REM ADD 11-20 to DAT7 file.
20 OPEN #1,”DAT7”
30 REM Now READ to endmark.
40 IF TYP(1)=0 THEN 70
50 READ #1,N
60 GOTO 40
70 REM Now add the numbers.
80 FOR I=11 TO 20
90
WRITE #1,I
100 NEXT
110 REM Quit.
120 PRINT “DONE”
130 CLOSE #1
140 END
SEQUENTIAL BYTE ACCESS
Files may also be accessed at the byte by byte level simply by using the ampersand character (&) to
prefix variables into which values will be read, or to prefix expressions to be written:
10 REM READ a byte value, then WRITE one.
20 REM OPEN DAT7 file with file number 1.
30 OPEN #1,”DAT7”
40 REM First byte goes into X.
50 READ #1, &X
60 REM Byte value 65 goes to file #1.
70 WRITE #1,&65
80 CLOSE modified file
90 CLOSE #1
100 END
Only numeric expressions and variables may be given the & prefix. Byte values are integers in the
range 0
÷
255, and naturally, since BASIC automatically converts from decimal to binary and back,
each consumes only one byte of file storage space. You should be sure that any value you intend to
WRITE as a byte to a file lies in the legal byte range.
Note than an endmark will always be written after the last data item in a WRITE statement., whether
or not that last item is a byte value. To disable writing of the endmark, use the NOENDMARK option
in your WRITE statements.
相關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