|
-
Sep 22nd, 2011, 03:43 AM
#1
Thread Starter
Member
Writing 4 or more strings to a single line in a text file
Hi everyone!
I've got my self in to a pickle here.
I'm trying to do something I used to do in basic? At-least I think you can do this in Basic, you know Qbasic, lol
What I'm trying to do is put 4-8 strings on to one line separated by a comma.
Example might be:
writer.writeline (bob1, bob2, bob3, bob4)
Out put might look like
Test, Test2, Test3, Test4
I'm tried looking in to formatting of writeline/write, but I didn't get any where with it.
Also if this is possible- I would like to be able to read it just like :
reader.readline (Rbob1, Rbob2, Rbob3, Rbob4)
If anyone cold just point me in the right direction, I'm sure I can figure it out - If not... Well I will ask another question.
Thanks,
Kyle
Last edited by Cpuboye11; Sep 22nd, 2011 at 03:44 AM.
Reason: Added Output example
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|