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: ae2ebf6ae430f677d9b17c3c339a8dc7c8c2a109f00f330d59660f34eee41035
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: 1b3954381d 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: ae2ebf6ae4 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: 79413de245 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 ]