home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 March
/
PCWK0397.iso
/
novell
/
webserv3
/
nws30.exe
/
DISK1
/
NETBASIC
/
WEB
/
SHOWCODE.BAS
< prev
next >
Wrap
BASIC Source File
|
1996-06-21
|
599b
|
26 lines
' Filename : showcode.bas
#include "HTML.H"
#include "FIO.H"
Sub Main
Local("fHandle")
Local("SzBuf")
DOC:HEADING("Showcode.bas")
DOC:Body(DOC_LTGRAY,DOC_BLACK)
SourceFile="netbasic\web\smpcard.bas"
fHandle=FIO:Open(SourceFile,"r")
If(SYS:Error:Number !=0)
Print("Error open file, script terminated")
End Sub
EndIf
Do While(!FIO:Eof(fHandle))
SzBuf=FIO:Read:String(fHandle)
Print(SzBuf);NewLine
EndDo
NewLine;FIO:Close(fHandle)
End Sub