3 /* This file is a syntax highlight test for Kate.
4 * FIXME: Improve it to contain more (and more unusual) syntax examples.
8 #define PIKE_ON_THE_WEB /* Is this address correct? */ "http://pike.ida.liu.se/"
11 int main(int argc
, array(string) args
)
13 // Write funny things with Pike :)
14 write(`
+("Command line arguments (%d of them): ", @
map(args
, `
+, " ")) + "\n", argc
);
16 write("\nVisit Pike site at %s\n\n", PIKE_ON_THE_WEB
);
18 for (int i
= 1; i
<= 3; i
++)
19 write(":" + ")" * i
+ " ");
21 write("\n" + ({"Bye", "bye"}) * "-" + "!\n");