1
0
Fork 0
This repository has been archived on 2019-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
arduinisten/eagle-5.7.0/ulp/editprev-sheet.ulp

20 lines
393 B
Text
Raw Normal View History

2010-03-30 20:14:34 +02:00
#usage "<b>Edit previous sheet</b>\n"
"<p>"
"<author>Author: support@cadsoft.de</author>"
// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED
string cmd = "";
if (schematic) {
int s;
schematic(SH) {
sheet(SH) s = SH.number;
if (s > 1) {
s--;
sprintf(cmd, "EDIT .s%d;\n", s);
}
}
exit(cmd);
}