CodeBase - Using Files

Return to the CodeBase listing

Category: File Control

Version: 1.0

0
0

Information

Uploaded: 20th Jul 2007 13:24

Modified: 20th Jul 2007 13:31

Author:  TKD guy

Summary

import/export info via files (level editor) Please note that I didn't originally write this code and take no credit for it. The person who posted it didn't know who wrote it either so...Thank You mystery man!...or girl!

Full Description

Import and export media using an outside file as a medium for two programs. Ideal for the programming of a map editor.<br /> Note, the command &quot;open file to write&quot; actually makes a brand new file, so it won't work if the file that your trying to open already exists. To edit, you'll have to open an existing file with &quot;open file to read&quot;, copy that data to a variable in-program then close the file, delete it, the &quot;open file to read&quot; (put filename here). <br /> What's that, you say that's redundant and stupid. Well, so do I, but I don't make the rules. I just use em'. Code On Programmers!

Comments

No comments yet.