X-Git-Url: http://git.harvie.cz/?p=svn%2FCll1h%2F.git;a=blobdiff_plain;f=demos%2Farguments2.c;fp=demos%2Farguments2.c;h=0000000000000000000000000000000000000000;hp=63276cf49b97efa2a6b73aa2918716feba484376;hb=e63f1bc2438012b5f2f6592a474892501149af18;hpb=6a60bc82e8b8e6cccd0d4c2214a1f291662215f0 diff --git a/demos/arguments2.c b/demos/arguments2.c deleted file mode 100644 index 63276cf..0000000 --- a/demos/arguments2.c +++ /dev/null @@ -1,27 +0,0 @@ -#include "cll1.h" - -//try to run: ./arguments2 -f reload yyyy -? - -program -{ - if_args then - { - for_args - { - if_arg ("-?") then - print("This is just help!"); - else if_arg ("-f") then - { - if (next_arg) then - { - print("Forced argument: ",next_arg); - skip_one; - } - } - else - print("Normal argument: ",this_arg); - } - } - else - print("Bleeeeh, no arguments supplied... :-("); -}