Overview
Comment:And taken it out again!
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b52a62a0e0de39b72bc11669ad92fbc13181e0b21077025fcff98951e7b026e5
User & Date: gawthrop@users.sourceforge.net on 1998-02-16 16:09:57
Other Links: branch diff | manifest | tags
Context
1998-02-17
17:03:54
Fixed bug in writing out matrix declaration check-in: 3b87942c3f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-02-16
16:09:57
And taken it out again! check-in: b52a62a0e0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:14:21
Corrected writing out of MTTVAR matrix - now does this id non-zero
number of variables - not vv!
check-in: 70dee91067 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/awk/lbl2sympar.awk from [4cd36c5261] to [f25eb93384].

8
9
10
11
12
13
14



15
16
17
18
19
20
21
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



# Revision 1.7  1997/03/18  17:25:24  peterg
# Now just generates names - formatting removed.
#
# Revision 1.6  1996/12/07  20:02:43  peterg
# Fixed symbolic parameter bug.
#
## Revision 1.5  1996/12/07 18:06:50  peterg







>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.8  1998/02/16 12:08:38  peterg
## Put back the matrix declaration
##
# Revision 1.7  1997/03/18  17:25:24  peterg
# Now just generates names - formatting removed.
#
# Revision 1.6  1996/12/07  20:02:43  peterg
# Fixed symbolic parameter bug.
#
## Revision 1.5  1996/12/07 18:06:50  peterg
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
}
END {
# print the _sympar file

#  printf("MTTNVar := %1.0f;\n", symbol_count);

  if (symbol_count>0) {
   printf("MATRIX MTTVar(MTTNVar,1);\n");
    split(symbols,symbol);
    for (i = 1; i <= symbol_count; i++) {
#      printf("MTTVar(%1.0f,1) \t := %s\n", i, symbol[i]);
      printf("%s\t%s\n", symbol[i], name);
    }
  }

}










|











92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
}
END {
# print the _sympar file

#  printf("MTTNVar := %1.0f;\n", symbol_count);

  if (symbol_count>0) {
   #printf("MATRIX MTTVar(MTTNVar,1);\n");
    split(symbols,symbol);
    for (i = 1; i <= symbol_count; i++) {
#      printf("MTTVar(%1.0f,1) \t := %s\n", i, symbol[i]);
      printf("%s\t%s\n", symbol[i], name);
    }
  }

}




MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]