05-05-2004, 03:52 AM
05-05-2004, 03:58 AM
Having a bit of trouble understanding you there - you opened a file FOR BINARY, and it doesn't let you write? Please post your code.
05-05-2004, 04:11 AM
OPEN "$FISC232" FOR BINARY ACCESS READ WRITE AS #12 LEN = 255
05-05-2004, 06:58 AM
wow, well thats beyond me... :oops:
05-05-2004, 10:21 AM
1. Skip the ACCESS READ WRITE. BINARY mode is READ/WRITE access by default.
2. Drop the LEN at the end and manually control the size.
3. Static handles are a no-no, and it is likely that you have run out of handles. Use FREEFILE to find the next available handle, assign the value to a variable, and reference the variable instead of a static handle such as #12.
If you don't quite understand what I'm saying, I'll give an example of what I mean. However, this is pretty easy stuff, so you should be able to get the idea and figure it out.
2. Drop the LEN at the end and manually control the size.
3. Static handles are a no-no, and it is likely that you have run out of handles. Use FREEFILE to find the next available handle, assign the value to a variable, and reference the variable instead of a static handle such as #12.
If you don't quite understand what I'm saying, I'll give an example of what I mean. However, this is pretty easy stuff, so you should be able to get the idea and figure it out.