Can variables be used as arguments in a function call????? This is driving me nuts! Here's my code: int16 AvailRAM; //global variable void test_ram() { int16 addr=0; //local variable do { write_ram(addr, 0xAA); //write 0xAA to each ram location } while(read_ram(addr++)==0xAA); //until a bad or non-existant location is reached AvailRAM = addr-1; } Here's the error: Error[107] C:\LOW.C 610 : Structures and Unions can not be parameters (use * or &) Line 610 is the write_ram(addr, 0xAA); line -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body