C to Modula2 converter? 
Author Message
 C to Modula2 converter?

Date: 13 Feb 93 21:56:18 GMT
Organization: a gora
Lines: 14

>(1) Set complement. Consider you have a set

>       TYPE MySet = SET OF [a..b];

>    then you get the complement by using the "-" operator:

>       PROCEDURE Complement(set: MySet) : MySet;
>       BEGIN
>          RETURN MySet{a..b} - set
>       END Complement;

  This should probably be called PROCEDURE ComplementMySet, since it only works
with that one particular set type, and requires that a and b be hard-coded.

Wed, 02 Aug 1995 13:10:42 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Modula2 as First CS Language


3. Modula2 as first CS Language

4. Modula2 as first CS language

5. modula2 to C converter

6. searching modula2 to pascal converter

7. Modula2 -> C converter wanted

8. C to Modula2 converter?

9. C to Modula2 converter?

10. Modula2 to C converter?

11. Looking for MODULA2 converter

12. to CS: or not to CS: in F-PC assembler


Powered by phpBB® Forum Software