
-----------------------------------
tjmoore1993
Wed Apr 01, 2009 2:50 pm

Creation of some sort of document?
-----------------------------------
I have been reading books and reading guides on this forum but never have I seen a complete version of my answer so I must ask for some sort of link or brief instructions.

I am trying to make a program that creates files instead of reading or writing. If it is possible a solution would be greatly appreciated :)

EX:
When a user enters in a name and information it makes them a file like "name.txt".

-----------------------------------
DemonWasp
Wed Apr 01, 2009 3:00 pm

RE:Creation of some sort of document?
-----------------------------------
Open a file for put access and then close it without putting anything. This creates the file, but leaves it empty. Looks like this:


var stream : int
open : stream, "C:\\test.txt", put
close : stream


-----------------------------------
tjmoore1993
Wed Apr 01, 2009 4:50 pm

Re: RE:Creation of some sort of document?
-----------------------------------
Open a file for put access and then close it without putting anything. This creates the file, but leaves it empty. Looks like this:


var stream : int
open : stream, "C:\\test.txt", put
close : stream

THANKS :O
