How do I save a user defined structure (by using defStruct) to a file and how do I retrieve it back ?
Can I just use outfile( ... ) and fprintf ?
Not directly. It's easy enough to write something that would do this though - for example, the following writes out a SKILL statement to recreate the structure (note, it doesn't assign the result to a variable, so you'd need to adapt it to your needs).procedure(ABwriteStruct(file struct) fprintf(file "make_%s%L\n" type(struct) foreach(mapcan arg struct->? list(concat(? arg) get(struct arg)) ) ))Regards,Andrew.