Overview
Comment: | *** empty log message *** |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9f264ac69e18c4620f5d01910454f060 |
User & Date: | gawthrop@users.sourceforge.net on 2000-10-17 09:04:12 |
Other Links: | branch diff | manifest | tags |
Context
2000-10-17
| ||
09:20:00 | *** empty log message *** check-in: c94c0268ff user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:04:12 | *** empty log message *** check-in: 9f264ac69e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:37:23 | Included logic rep check-in: 1af7bb600f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/switch_txt2m from [06a98cb492] to [f9c4ead64c].
︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.8 1999/04/20 00:55:40 peterg ## Changed <= to < in switchopen.m ## Removed switch.m generation - redundant ## ## Revision 1.7 1999/04/02 06:30:37 peterg ## New _switchopen ## Removed switcha | > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.9 1999/08/02 12:44:21 peterg ## zero_vector --> zero_state. ## ## Revision 1.8 1999/04/20 00:55:40 peterg ## Changed <= to < in switchopen.m ## Removed switch.m generation - redundant ## ## Revision 1.7 1999/04/02 06:30:37 peterg ## New _switchopen ## Removed switcha |
︙ | ︙ | |||
63 64 65 66 67 68 69 70 71 72 73 74 75 76 | ## Set index version echo Creating $1_switchopen.m #Write some file headers lang_header $1 switchopen m 'mttx' '[open]' > $1_switchopen.m # Set states to zero awk '{ if ($1=="#"){ printf("#== open - boolean vector of open switches ==#\n") printf("[open] = zero_state(%i); # Default to not open\n", Nx); } | > > > > > > > > | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | ## Set index version echo Creating $1_switchopen.m #Write some file headers lang_header $1 switchopen m 'mttx' '[open]' > $1_switchopen.m ## Add the switching logic cat >> $1_switchopen.m <<EOF ## User defined logic (from $1_logic.m) EOF cat $1_logic.txt >> $1_switchopen.m # Set states to zero awk '{ if ($1=="#"){ printf("#== open - boolean vector of open switches ==#\n") printf("[open] = zero_state(%i); # Default to not open\n", Nx); } |
︙ | ︙ |