Overview
Comment:Sorted syntax errors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9333750c9e2fa68def54819e9228e2bb5c2b8e44b19cc92464421fbcdafcbac8
User & Date: gawthrop@users.sourceforge.net on 1998-07-27 17:34:59
Other Links: branch diff | manifest | tags
Context
1998-07-27
18:49:09
Fixed the frequency stuff check-in: 3d3729562e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:34:59
Sorted syntax errors check-in: 9333750c9e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:20:42
Allow , between () check-in: 561e4543c9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lang_matrix.r from [c96fea2576] to [0861aec3dd].

9
10
11
12
13
14
15



16
17
18
19
20
21
22
23
24
25
26
27
28
29

30
31
32
33
34
35



36
37
38
39
40


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



% % Revision 1.2  1998/05/23 15:00:27  peterg
% % Removed the name = matrix statement - now done by sed.
% %
% % Revision 1.1  1998/05/23 10:49:25  peterg
% % Initial revision
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



PROCEDURE Lang_Matrix();
BEGIN
  ON NERO;
  IF MTT_Matrix_n>0 THEN

    IF MTT_Matrix_m>0 THEN
    BEGIN
    FOR i := 1:MTT_Matrix_n DO
      FOR j := 1:MTT_Matrix_m DO 
          GENTRAN mtt_matrix(i,j) ::=: mtt_matrix(i,j);
    END;



END;

END;;









>
>
>












<
|
>
|
|
<
|
|
|
>
>
>





9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

31
32
33
34

35
36
37
38
39
40
41
42
43
44
45


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % $Id$
% % $Log$
% % Revision 1.3  1998/07/27 16:31:10  peterg
% % Sorted out to work with mtt_r2m
% %
% % Revision 1.2  1998/05/23 15:00:27  peterg
% % Removed the name = matrix statement - now done by sed.
% %
% % Revision 1.1  1998/05/23 10:49:25  peterg
% % Initial revision
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



PROCEDURE Lang_Matrix();
BEGIN

    FOR i := 1:MTT_Matrix_n DO
    BEGIN
      IF MTT_Matrix_m>1 THEN
      BEGIN

        FOR j := 1:MTT_Matrix_m DO 
            GENTRAN mtt_matrix(i,j) ::=: mtt_matrix(i,j);
      END
      ELSE
        GENTRAN mtt_matrix(i) ::=: mtt_matrix(i,1);
    END
END;

END;;



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