Saving multiple ints on same line?

BlitzMax Forums/BlitzMax Beginners Area/Saving multiple ints on same line?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I really didn't want to ask this question, but after 30 minutes of trying I might as well just ask and learn.

All I want to do is save four separated integers per line. In other words, how can I write four variables on a single line (separated by commas) to a .txt file? And when I've done that, how can I start a new line underneath the previous one and do that same process over again?

Thanks a bunch! I've always had a tough time with file creation, and the BlitzWiki didn't help me that much.

By the way, why can't numbers be read on a .txt file with Notepad? They're always replaced by symbols.