2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
7 #include <proto/rexxsyslib.h>
8 #include <rexx/storage.h>
13 struct RxsLib
*RexxSysBase
;
19 RexxSysBase
= (struct RxsLib
*)OpenLibrary("rexxsyslib.library", 0);
20 if (RexxSysBase
== NULL
)
22 puts("Error opening rexxsyslib.library");
27 puts("Opening rexxsyslib.library succeeded");
30 puts("Creating Argstring");
31 s
= CreateArgstring("1234", 4);
34 puts("Error creating Argstring");
37 puts("Getting length");
38 printf("Length: %ld\n",(long)LengthArgstring(s
));
39 puts("Deleting Argstring");
42 CloseLibrary((struct Library
*)RexxSysBase
);