> I'm out of practice with C, but shouldn't > viScanf(vi, "%t", buf); > be > viScanf(vi, "%t", &buf);
[I'm not a language wizard.] It looks OK to me. Arrays are passed by pointer. buf is the same as &buf[0] The compiler should complain if it is wrong. A quick google found examples without the &. For production code I'd want to tell viScanf the max length. -- These are my opinions, not necessarily my employer's. I hate spam. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
