home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Professionell 2005 July
/
PCpro_2005_07.ISO
/
files
/
freeware
/
hardcopy
/
hcf.exe
/
basic
/
Basic_File_043_Read.bas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
BASIC Source File
|
2003-11-26
|
338 b
|
17 lines
Image(0).Color = _ColorWhite
x = 20
y = 20
filename = File.CommonWindowsDirectory + "\\win.ini"
fp = File.Open( filename, "r" )
While File.IsEof( fp ) = FALSE
buffer = File.Read( fp )
buffer = Left( buffer, Len( buffer ) - 1 ) ' \n
Image(0).Position( x,y ).Text = buffer
y = y + Font.Size
Wend
File.Close( fp )