EXAPUNKS

EXAPUNKS

View Stats:
Tutorial 3
I can't figure out how to take the info from the 199 file and put it into the made file. Anyone know what to do?
< >
Showing 1-2 of 2 comments
have you read the zine? It contains all the commands you can use.
But generally, using the letter "F" denotes files, so if you want to read to or from files, just use that to get the current entry

so something like
copy 2 F
would copy to entry "2" into the file you're currnetly holding at the current point in the file

hope that helps
In this case, the tutorial wants to teach you two things:
Operations on files (F register), and something very important: messaging (M register)

Both are registers, similar to X and T, but with a twist. In order to succesfully complete writing to them, there needs to be a 'receiver'. If you try to write to a file, but you don't have a file, then it's a crash.

If you try to write to M, and there's no receiver, then you freeze, until there is. It's a 'blocking' operation.

(similar for the reverse, if you try to read, without having grabbed a file, that's a crash, trying to read a message, without one being there, means you're blocked)

So, in this case you will want to create 2 EXA's. (On the left). One of them the writer, one of them the receiver.

MAKE creates a new file for the receiver.
COPY F M for the writer to send something from the origin file to the receiver.
COPY M F for the receiver to receive something from the sender and write to his target file.

(If you want to move the cursor around in a file, you can use SEEK, followed by an integer. You can solve this one without SEEK, though).

All of this is, of course, referenced in the manual (-:
< >
Showing 1-2 of 2 comments
Per page: 1530 50