Hi,
I 'm just learning Karel and I have two questions:
1. How can I open an already existing file and add new content to it without deleting the old file nor deleting any already existing content?
Of course, I have no problem creating a new file and writing new content:
OPEN FILE xml_file ('RW', file_name)
WRITE FILE xml_file ('new content')
CLOSE FILE xml_file
But I have yet to figure out how to open an already existing file and write new content at a new line efter the previously last written line.
2. I have a problem creating a new file to MD. If file_name = 'mc:test1.xml' then a new file is created to mc.
But if I instead use file_name = 'md:test1.xml' then no file is created.
Thank you