Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d8c0229f7fd1ccd7e13438a48f69adf11c0fc6350abfcce6edde72ac6273285e
User & Date: gawthrop@users.sourceforge.net on 1999-08-29 06:46:05
Other Links: branch diff | manifest | tags
Context
1999-08-29
06:54:42
Added code (mtt_parameters, get args etc) to allow arguments to the
a.out file
check-in: f09bc192e4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:46:05
Initial revision check-in: d8c0229f7f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:14:27
No longer remove "PASCAL_MAIN" check-in: ae5f44e139 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/p/mtt_getargs.p version [c2b2652ec6].





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ Substitute for p2c PASCAL_MAIN
   Copies pogramme arguments in to mtt_parameters array
   This c code is embedded in a pascal routine in a p2c compatible way
}

{EMBED
Static Void  PASCAL_MAIN(argc, argv)
int argc;
char *argv[];

\[
 int i;
 mtt_n_parameters = argc-1;
  for (i=1;i<argc;i++)\[
    mtt_parameters[i-1] = strtod(argv[i],0);
  \]
\]
}


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