tests/basic/string-lit-1.sp
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 01:04:43 2013 +0100 (2013-06-10)
changeset 263 ba85a47ee414
parent 234 26e3035cdffc
permissions -rw-r--r--
Normalise line endings.
     1 native PrintNum(num);
     2 
     3 public main()
     4 {
     5     new char:str1[] = "hello";
     6     new char:str2[4] = "bye";
     7     PrintNum(str1[1]);
     8     PrintNum(str2[1]);
     9 }