Overview
Comment:fflush() buffer before returning - ensures def.r is written to.,
required for either octave-2.1.35 or linux-2.4.12 (not sure which).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9e6ea3154f0f6233ac4559c7257ab893ebca64bc63b076524f85488e475bba47
User & Date: geraint@users.sourceforge.net on 2001-11-03 07:51:39
Other Links: branch diff | manifest | tags
Context
2001-11-11
08:32:00
fflush (structure_file). check-in: 9d06ad81a9 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-11-03
07:51:39
fflush() buffer before returning - ensures def.r is written to.,
required for either octave-2.1.35 or linux-2.4.12 (not sure which).
check-in: 9e6ea3154f user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-10-29
13:53:09
Suppresses [221] warnings (undefined symbols) in the code. check-in: 975977d8b0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/makedef.m from [2448733046] to [4b8ed092ca].

1
2
3
4
5
6
7



8
9
10
11
12
13
14
function makedef(structure,deffilenum);

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



  ## %% Revision 1.7  2000/10/20 13:16:29  peterg
  ## %% Reformated
  ## %%
  ## %% Revision 1.6  1996/12/07 18:21:57  peterg
  ## %% Now uses fopen + file number
  ## %%
  ## %% Revision 1.5  1996/11/09 21:05:44  peterg







>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function makedef(structure,deffilenum);

  ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  ## %% Version control history
  ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  ## %% $Id$
  ## %% $Log$
  ## %% Revision 1.8  2000/10/20 13:26:41  peterg
  ## %% Made sure that mttui not declared twice
  ## %%
  ## %% Revision 1.7  2000/10/20 13:16:29  peterg
  ## %% Reformated
  ## %%
  ## %% Revision 1.6  1996/12/07 18:21:57  peterg
  ## %% Now uses fopen + file number
  ## %%
  ## %% Revision 1.5  1996/11/09 21:05:44  peterg
119
120
121
122
123
124
125
126
127
128
129
130
    fprintf(deffilenum, 'MTTx(%1.0f,1) := MTTx%1.0f;\n', i, i);
  endfor

  for i=1:nonstates
    fprintf(deffilenum, 'MTTdz(%1.0f,1) := MTTdz%1.0f;\n', i, i);
  endfor

endfunction
  










<
|

|
<
122
123
124
125
126
127
128

129
130
131

    fprintf(deffilenum, 'MTTx(%1.0f,1) := MTTx%1.0f;\n', i, i);
  endfor

  for i=1:nonstates
    fprintf(deffilenum, 'MTTdz(%1.0f,1) := MTTdz%1.0f;\n', i, i);
  endfor


  fflush (deffilenum);

endfunction


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