Overview
Comment:Better annotation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9c7a10bed74c2a9f6701f5da3acfc8df84f8e208e31a66e5afa9ebbb4b3f8379
User & Date: gawthrop@users.sourceforge.net on 1998-01-29 17:06:36
Other Links: branch diff | manifest | tags
Context
1998-01-29
19:37:31
Fixed spurious call to X server bug check-in: 0dc96c5a48 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:06:36
Better annotation check-in: 9c7a10bed7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:06:21
Better annotation of each input check-in: f2e8294bec user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2numpar_txt2txt from [7a69493c1c] to [378e637777].

10
11
12
13
14
15
16






17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop 1996

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






## Revision 1.6  1997/06/13 09:34:39  peterg
## changed [] to ()
##
# Revision 1.5  1997/05/15  08:30:14  peterg
# Now write default states (using _struc file).
#
# Revision 1.4  1997/05/15  07:19:19  peterg







>
>
>
>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) P.J.Gawthrop 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7  1997/09/18 17:10:18  peterg
## Changed comments pertaining to the parameters to use the new column 2
## of the sympar file (the system type).
## Added blank line to separate parmeters from states.
## (Done in the Chester Court Hotel).
##
## Revision 1.6  1997/06/13 09:34:39  peterg
## changed [] to ()
##
# Revision 1.5  1997/05/15  08:30:14  peterg
# Now write default states (using _struc file).
#
# Revision 1.4  1997/05/15  07:19:19  peterg
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
>> $1_numpar.txt

#Write out the initial states
echo  >> $1_numpar.txt
echo "# Initial states" >> $1_numpar.txt
awk '{
  if ($1=="state") 
    print "x(" $2 ") = \t0.0; \# Initial state for " $4 " (" $3 ")"
}' \
 $1_struc.txt >> $1_numpar.txt












|







55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
>> $1_numpar.txt

#Write out the initial states
echo  >> $1_numpar.txt
echo "# Initial states" >> $1_numpar.txt
awk '{
  if ($1=="state") 
    print "x(" $2 ") = \t0.0; \# Initial state for system" $4 " (Component " $3 ")"
}' \
 $1_struc.txt >> $1_numpar.txt






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