03-07-2005, 01:22 AM
alright, i'm not sure why the DIM SHARED won't work for you.
in your addvid you are INPUTting "number" but PUTting to slot "id".. pick one and be consistent with it. if you input "number", then
PUT #1, number, vid
in your searchvid you OPEN the file *inside* your loop, without CLOSEing (the CLOSE command is outside the loop). This means if you search more than once, the program will try to OPEN a file that's already OPEN. Move the OPEN statement outside the DO/LOOP.
*peace*
Meg.
in your addvid you are INPUTting "number" but PUTting to slot "id".. pick one and be consistent with it. if you input "number", then
PUT #1, number, vid
in your searchvid you OPEN the file *inside* your loop, without CLOSEing (the CLOSE command is outside the loop). This means if you search more than once, the program will try to OPEN a file that's already OPEN. Move the OPEN statement outside the DO/LOOP.
*peace*
Meg.