Is there a flag in ULP that can tell me whether or not the board needs
saving?
I'm looking for something like:
board(B) {
if (B.dirty) {
dlgMessageBox("Board needs to be saved.");
exit(1);
}
...
}
An alternative is to save the board from within a ULP. Something like.
board(B) {
if (B.dirty) {
B.save();
}
...
}
Thanks in advance,
- Chuck