Hi,
I'm trying to read and write files but having some problems. I don't understand what I'm doing :) I can write one string to a file and saved but any more than that and I get an error.
Also with WriteString you have to specify the size of a string you're passing. Why is this? You didn't have to specify a size before.
I've got as far as Perturbatio's code here:-
http://www.blitzbasic.com/Community/posts.php?topic=47872&hl=WriteString
I simply just want to write a load of strings to a file and then read them back.
I can't see what was wrong with the old Blitz way of writing to files. It was definitely much less complicated.
Help! :)
I'm trying to read and write files but having some problems. I don't understand what I'm doing :) I can write one string to a file and saved but any more than that and I get an error.
Also with WriteString you have to specify the size of a string you're passing. Why is this? You didn't have to specify a size before.
I've got as far as Perturbatio's code here:-
http://www.blitzbasic.com/Community/posts.php?topic=47872&hl=WriteString
I simply just want to write a load of strings to a file and then read them back.
I can't see what was wrong with the old Blitz way of writing to files. It was definitely much less complicated.
Help! :)