From d4f85438bd5397631adccb6cf971fcdb597d7b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 1 May 1996 23:47:21 +0200 Subject: [PATCH] module documentation moved Rev: doc/builtin/zero_type:1.3 Rev: doc/manual/example1:1.4 Rev: doc/types/mapping:1.5 --- doc/builtin/zero_type | 2 +- doc/manual/example1 | 4 ++-- doc/types/mapping | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/builtin/zero_type b/doc/builtin/zero_type index 6edca1ab16..36c31442a2 100644 --- a/doc/builtin/zero_type +++ b/doc/builtin/zero_type @@ -14,7 +14,7 @@ DESCRIPTION no such call_out could be found. Otherwize zero_type will return zero. KEYWORDS - int + int, mapping SEE ALSO find_call_out diff --git a/doc/manual/example1 b/doc/manual/example1 index 5600124036..f86b5bfcf9 100644 --- a/doc/manual/example1 +++ b/doc/manual/example1 @@ -82,7 +82,7 @@ int main(int argc, string *argv) { - if(argc > 2 && argv[1]=="--traditional") + if(argc > 1 && argv[1]=="--traditional") { write("hello world\n"); // old stype }else{ @@ -114,7 +114,7 @@ the command line (including the command itself) and argv is an array formed by these words. - if(argc > 2 && argv[1] == "--traditional") + if(argc > 1 && argv[1] == "--traditional") { write("hello world\n"); // old stype }else{ diff --git a/doc/types/mapping b/doc/types/mapping index 0077a6ce05..6ff371b7a3 100644 --- a/doc/types/mapping +++ b/doc/types/mapping @@ -35,7 +35,7 @@ DESCRIPTION ! a boolean not, returns 0 a[c] indexing, returns the value associated with the value c in the mapping a. If there is no index c in the mapping - zero will be returned. (With zero type = 1) + zero will be returned. (With zero_type = 1) a[c]=d setting, this associates d with c in the mapping, the index c will be added to the mapping automatically if it isn't already there. @@ -44,4 +44,5 @@ KEYWORDS types SEE ALSO - array, list, builtin/sizeof, builtin/indices, builtin/values + array, list, builtin/sizeof, builtin/indices, builtin/values, + builtin/zero_type -- GitLab