tests/basic/const-arg-5.sp
author David Anderson <dvander@alliedmods.net>
Tue Jan 01 15:34:07 2013 -0800 (2013-01-01)
changeset 251 ca99a81745fe
parent 241 18f3010a358c
child 263 ba85a47ee414
permissions -rw-r--r--
Refactor compilation process around the new concept of packages.
     1 native PrintNum(num);
     2 
     3 
     4 f(const char:text[])
     5 {
     6     PrintNum(text[0]);
     7 }
     8 
     9 public main()
    10 {
    11     new char:q[20] = "blub";
    12     f("asdf");
    13     f(q);
    14 }