Rabu, 28 Maret 2012

Membuat file kedalam HardDisk

cara:

open [directory+nama file+format] for output as #1
print #1, [yang ingin ditulis kedalam file itu]
close #1

contoh

Open "C:\Program Files\Percobaan.doc" For Output As #1
Print #1, "berhasil"
Close #1

Tidak ada komentar:

Posting Komentar