Overview
| Comment: | All variables are in lower case. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
600d128f3bb3a1d56eb52aaed982e242 |
| User & Date: | gawthrop@users.sourceforge.net on 1997-03-20 15:17:45.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1997-03-20
| ||
| 16:53:01 | Generates c files using include statements. check-in: 95b6c7dce0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 15:17:45 | All variables are in lower case. check-in: 600d128f3b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 15:14:25 | Lower case conversion. check-in: 58cf27e86b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sympar2params_txt2c
from [4208fabefb]
to [ed3554c783].
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### # Inform user echo "Creating $1_params.c" | > > > | 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.1 1997/03/20 10:25:55 peterg # Initial revision # ############################################################### # Inform user echo "Creating $1_params.c" |
| ︙ | ︙ | |||
39 40 41 42 43 44 45 |
echo "#include \"$1_sympar.c\"" >> $1_params.c
echo "$1_params()" >> $1_params.c
echo '{' >> $1_params.c
#Write out the variables in c format.
| | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
echo "#include \"$1_sympar.c\"" >> $1_params.c
echo "$1_params()" >> $1_params.c
echo '{' >> $1_params.c
#Write out the variables in c format.
awk '{i++; print tolower($1) " = \t1.0;"}' $1_sympar.txt >> $1_params.c
echo '}' >> $1_params.c
# Now invoke the standard error handling.
# mtt_error mtt_error.txt
|