Index: mttroot/mtt/bin/trans/switch_txt2m ================================================================== --- mttroot/mtt/bin/trans/switch_txt2m +++ mttroot/mtt/bin/trans/switch_txt2m @@ -14,10 +14,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.11 2000/10/17 09:55:55 peterg +## Now writes to standard output +## Write the name, not the array +## ## Revision 1.10 2000/10/17 09:04:12 peterg ## *** empty log message *** ## ## Revision 1.9 1999/08/02 12:44:21 peterg ## zero_vector --> zero_state. @@ -83,11 +87,11 @@ # 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); + printf("open = zero_state(%i); # Default to not open\n", Nx); } else{ printf("\n#== Switch: %s ==#\n",$1) printf("if (%s_logic==0.0) \n", $1);