PDA

View Full Version : How do I read (and write) a file during the game?


jyby
10-10-2008, 09:37 PM
I would like the game programmed with Alice to read a text file, and eventually to write results to another file. I assume that there is a way using scripting but scripting is not suported any more, it seems. I know that it will be possible in Alice 3.0. Is it possible with Alice 2.2, and how?

DrJim
10-12-2008, 10:18 AM
This is a duplicate of other posts - but the question gets asked a lot and the thread is a bit hard to find just with a search. For info on text file I/O, see http://www.alice.org/community/showthread.php?t=1395&page=2&highlight=script.

jyby
02-07-2009, 03:38 PM
Thanks a lot!