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: e6bc57c1cdf36655400b57df199870ee769ccf370a0b90e8d9f79e4ed80e016d
User & Date: gawthrop@users.sourceforge.net on 2000-12-03 15:47:53
Other Links: branch diff | manifest | tags
Context
2000-12-03
16:06:22
Fixed bug in generating dummies
Added logic declarations
check-in: 2e73eadee8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:47:53
*** empty log message *** check-in: e6bc57c1cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-12-01
20:55:01
Added Geraint's fix for zeroing matrices check-in: 84118dc0fb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2par_txt2m from [5ffb0c47af] to [62092b15cb].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Used in lang_header
# Copyright (C) 2000 by Peter J. Gawthrop

case $2 in
    zero)
	  strip_comments <$1_sympar.txt  |\
          awk '{
          i++; printf("  %s %s = 0.0;\n", decl, tolower($1));
          }' decl=$3
	;;
    set)
	  strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  %s mttpar(%i) \t= %s;\n", decl, i, tolower($1));
         }' decl=$3
        ;;
    *)
         strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  %s %s \t= mttpar(%i);\n", decl, tolower($1), i);
         }' decl=$3
	;;
esac











|
|




|
|




|
|






10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Used in lang_header
# Copyright (C) 2000 by Peter J. Gawthrop

case $2 in
    zero)
	  strip_comments <$1_sympar.txt  |\
          awk '{
          i++; printf("  %s %s = 0.0;\n",  tolower($1));
          }' 
	;;
    set)
	  strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  %s mttpar(%i) \t= %s;\n", i, tolower($1));
         }' 
        ;;
    *)
         strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  %s %s \t= mttpar(%i%s);\n", decl, tolower($1), i, minusone);
         }' decl="$3" minusone="$4"
	;;
esac





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