#! /bin/env pike

<beginfold id='1'>/*</beginfold id='1'> This file is a syntax highlight test for Kate.
 * FIXME: Improve it to contain more (and more unusual) syntax examples.
 <endfold id='1'>*/</endfold id='1'>


#define PIKE_ON_THE_WEB  <beginfold id='1'>/*</beginfold id='1'> Is this address correct? <endfold id='1'>*/</endfold id='1'>  "http://pike.ida.liu.se/"


int main(int argc, array(string) args)
<beginfold id='2'>{</beginfold id='2'>
  // Write funny things with Pike :)
  write(`+("Command line arguments (%d of them): ", @map(args, `+, " ")) + "\n", argc);
                             
  write("\nVisit Pike site at %s\n\n", PIKE_ON_THE_WEB);

  for (int i = 1; i <= 3; i++)
    write(":" + ")" * i + "   ");

  write("\n" + (<beginfold id='2'>{</beginfold id='2'>"Bye", "bye"<endfold id='2'>}</endfold id='2'>) * "-" + "!\n");

  return 0;
<endfold id='2'>}</endfold id='2'>
