Overview
Comment:Revised smx generation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0d694c4f97b325a59816677d025430b94991a8f4af4361f199c92a56df2ab3b9
User & Date: gawthrop@users.sourceforge.net on 1999-02-16 21:44:38
Other Links: branch diff | manifest | tags
Context
1999-02-16
21:55:45
Initial revision check-in: f8fd113135 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
21:44:38
Revised smx generation check-in: 0d694c4f97 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
21:43:54
Revises smx generation. check-in: 8ea6df6766 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/txt2m from [6b56e63c82] to [55eece0e52].

11
12
13
14
15
16
17



18
19
20
21
22
23
24


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



# %% Revision 1.13  1998/08/31 11:43:37  peterg
# %% Now lower cases globals in numpar files
# %%
# %% Revision 1.12  1998/08/14 10:47:31  peterg
# %% Put ImplicitS sub before Implicit!!
# %%
# %% Revision 1.11  1998/08/14 10:43:44  peterg







>
>
>







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


# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.14  1999/02/16 04:38:22  peterg
# %% Now forces creation of _smx file if METHOD=IMPLICIT in simpar.txt
# %%
# %% Revision 1.13  1998/08/31 11:43:37  peterg
# %% Now lower cases globals in numpar files
# %%
# %% Revision 1.12  1998/08/14 10:47:31  peterg
# %% Put ImplicitS sub before Implicit!!
# %%
# %% Revision 1.11  1998/08/14 10:43:44  peterg
76
77
78
79
80
81
82





83
84
85
86
87
88
89
    arg='(mttx,mttt)'
fi
if [ "$representation" = "simpar" ]; then
    # Check if implicit method and generate xmx.m if
    implicit=`grep -i METHOD $1_simpar.txt | grep -i -c IMPLICIT`
    if [ "$implicit" = "1"  ]; then
	mtt -q $1 smx m





    fi
fi

# Inform user
echo Creating $1_$2.m

#Create the $2 file complete with headers.







>
>
>
>
>







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
    arg='(mttx,mttt)'
fi
if [ "$representation" = "simpar" ]; then
    # Check if implicit method and generate xmx.m if
    implicit=`grep -i METHOD $1_simpar.txt | grep -i -c IMPLICIT`
    if [ "$implicit" = "1"  ]; then
	mtt -q $1 smx m
    else
echo Creating dummy $1_smx.m
cat<<EOF > $1_smx.m
%% No code as implicit method not used here %%
EOF
    fi
fi

# Inform user
echo Creating $1_$2.m

#Create the $2 file complete with headers.


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