1 #include <proto/example.h>
2 #include <proto/exec.h>
8 // SPrintfA() uses RawDoFormat()
15 } data
= {10000000, 1001, "Hello"};
23 puts(Uppercase("hElLo ArOs!!!"));
25 puts(SPrintfA(buf
, "TEST LONG %ld WORD %d STRING %s", &data
));
27 // variadic; again special treatment because of RawDoFmt()
28 puts(SPrintf(buf
, "TEST LONG %ld WORD %ld STRING %s", 10000000, (LONG
)1001, (IPTR
)"Hello"));