Re: Run Euphoria without installing -- Use the Slax module
- Posted by jimcbrown (admin) Dec 12, 2009
- 1281 views
DerekParnell said...
jiri said...
when I try to open a non-existent file for 'append' under linux I get an error. Under windows, agreeably, an empty file is quietly generated.
Can someone else confirm this effect? Looking at the source code, Euphoria's backend calls the 'fopen' C function, which according to the Linux docs will create a file in 'append' mode if the file doesn't exist.
Using r3021, the following code works fine for me (it creates the empty file and prints a file handle of 3):
integer h h = open("/tmp/hty.hty", "a") ? h close(h)