Re: Open command in wxEuphoria
- Posted by ChrisBurch2 <crylex at freeuk.co.uk> Jun 28, 2006
- 605 views
Hi fn = open(file, "r"), is returning -1 for fn (hence the bad file number - its an error indicator This means open() can't find the file this means that the file sequence being passed to open_file is nor correct put a puts(1, file) in the, at the beginning of open_file(), see whats being passed to it. Chris