Overview
Comment:Put back "tolower"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: eddc74515a7fc70e1d96aec1eb53258f29fac69c9f1ef22ca68c4853b194cd1c
User & Date: gawthrop@users.sourceforge.net on 1997-05-15 07:21:44
Other Links: branch diff | manifest | tags
Context
1997-05-15
08:30:14
Now write default states (using _struc file). check-in: cde2507a4a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:21:44
Put back "tolower" check-in: eddc74515a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:13:31
Removed "tolower" function. check-in: de155aa966 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2numpar_txt2txt from [fa4625d095] to [35017b2056].

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
37
38
39
40
41
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
37

38
39
40
41
42
43
44







+
+
+


















-
+






# Copyright (c) P.J.Gawthrop 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.3  1997/05/15  07:13:31  peterg
# Removed "tolower" function.
#
# Revision 1.2  1997/05/01  08:19:04  peterg
# # is now used as the comment symbol
#
# Revision 1.1  1997/05/01  07:35:48  peterg
# Initial revision
#
###############################################################


# Inform user
echo Creating $1_numpar.txt

#Create the numpar file complete with headers.
echo "# Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt
echo "# Generated by MTT at `date`" >> $1_numpar.txt
cat $MTTPATH/trans/rcs_header.txt  >> $1_numpar.txt

#Write out the variables in c format.
awk '{i++; print $1 " = \t1.0; \# Default value"}' $1_sympar.txt \
awk '{i++; print tolower($1) " = \t1.0; \# Default value"}' $1_sympar.txt \
>> $1_numpar.txt





Modified mttroot/mtt/bin/trans/sympar_txt2c from [a18ba64479] to [8ba82ee2c5].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.2  1997/05/15  07:10:56  peterg
# removed "tolower" function
#
# Revision 1.1  1997/05/15  07:10:09  peterg
# Initial revision
#
# Revision 1.3  1997/03/19  16:39:12  peterg
# Put in the correct date.
#
# Revision 1.2  1997/03/18  17:56:35  peterg
37
38
39
40
41
42
43
44

45
46
47
48
49
50
51
40
41
42
43
44
45
46

47
48
49
50
51
52
53
54







-
+







echo "Symbolic parameter file ($1_sympar.c)" >> $1_sympar.c
echo "Generated by MTT at `date`"  >> $1_sympar.c
echo '*/' >> $1_sympar.c
echo  >> $1_sympar.c


#Write out the variables in c format.
awk '{i++; print "extern double", $1 ";"}' $1_sympar.txt \
awk '{i++; print "extern double", tolower($1) ";"}' $1_sympar.txt \
      >> $1_sympar.c


# Now invoke the standard error handling.
# mtt_error mtt_error.txt


Modified mttroot/mtt/bin/trans/sympar_txt2h from [c627a85a9c] to [7fc0d6f66f].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.5  1997/05/15  07:11:45  peterg
# Removed "tolower" function
#
# Revision 1.4  1997/05/01  13:51:37  peterg
# Replaced float by double.
#
# Revision 1.3  1997/05/01  13:42:43  peterg
# Chaged double to float
#
# Revision 1.2  1997/03/20  15:14:25  peterg
41
42
43
44
45
46
47
48

49
50
51
52
53
44
45
46
47
48
49
50

51
52
53
54
55
56







-
+





echo "Symbolic parameter file ($1_sympar.h)" >> $1_sympar.h
echo "Generated by MTT at `date`"  >> $1_sympar.h
echo '*/' >> $1_sympar.h
echo  >> $1_sympar.h


#Write out the variables in c format.
awk '{i++; print "double", $1 ";"}' $1_sympar.txt  >> $1_sympar.h
awk '{i++; print "double", tolower($1) ";"}' $1_sympar.txt  >> $1_sympar.h

# Now invoke the standard error handling.
# mtt_error mtt_error.txt



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