I've been doing some experimenting with the file operation commands in SCI1.1, and can successfully read and write strings to/from a file. (E.g. Write "hello", then read it into the variable myString so printing myString prints "hello")
My question is, is there any methods or procedures I can use to read/write on a line-by-line basis?
Here's an example. Say I have a string "myString", and an integer "myNumber". Is there a way to write myString to line 1 of a file, write myNumber to line 2, and then later on seek to and fetch myNumber again by specifying that I want the second line?
Also, I've so far only gotten file operations to work with strings, and can work with that, but if there's a way to retrieve variables (e.g. Integers) I can do arithmetic to, it would be wonderfully helpful.
I've been asking a lot of dumb questions lately, so thank you all for being so patient with me