3 FROM DynamicStrings IMPORT String, Length, InitString, KillString ;
4 FROM libc IMPORT printf, exit ;
11 s := InitString ("\n") ;
14 printf ("\\n string should be 2 characters long in Modula-2\n") ;
18 s := InitString ("\\n") ;
21 printf ("\\\\n string should be 3 characters long in Modula-2\n") ;
26 printf ("very basic escaped DynamicStrings pass\n") ;