Call a foreign-language function: Difference between revisions

m (removed omit for REXX, REXX has support via function calls to other languages. -- ~~~~)
Line 937:
echo strcmp("abc", "def")
echo strcmp("hello", "hello")
 
proc printf(formatstr: cstring) {.header: "<stdio.h>", varargs.}
 
var x = "foo"
printf("Hello %d %s!\n", 12, x)
</lang>
 
Anonymous user