Overview
Comment:Allow 2D arrays
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: f7ad33ddfbdb11de3884eb4a5480ccc939e00ee0347c524112715182097973b6
User & Date: gawthrop@users.sourceforge.net on 1998-07-27 20:31:05
Other Links: branch diff | manifest | tags
Context
1998-07-27
20:31:40
New simpar version check-in: 6897916da4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:31:05
Allow 2D arrays check-in: f7ad33ddfb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:30:39
Mods for dm rep - no globals ... check-in: 9856ba297f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2m from [add8501e92] to [d954652ab3].

1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  
  if ((match($0,"=")>0)&&(match($NF,"[\#;]")==0)){
    Previous = $0
  }




|







1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  
  if ((match($0,"=")>0)&&(match($NF,"[\#;]")==0)){
    Previous = $0
  }


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