From 66101aaf34c55b6928974b78355eea0593de44d2 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 29 May 2017 19:05:20 -0400 Subject: add documentation for isstr() --- doc/script_commands.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 0ba350ad1..923fad96b 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8247,6 +8247,18 @@ else. --------------------------------------- +*isstr() + +This command checks if the given is a string (1), +an integer (0) or something else (2). + +Example: + + isstr(69); // outputs 0 + isstr("69"); // outputs 1 + +--------------------------------------- + *charisalpha("", ) This function will return true if the character number Position in the given -- cgit v1.2.3-70-g09d2 From 7e521f026429f0ccfa9c95197c26453e7caef72b Mon Sep 17 00:00:00 2001 From: gumi Date: Wed, 31 May 2017 12:15:47 -0400 Subject: add documentation for getarrayindex() --- doc/script_commands.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 923fad96b..49db95153 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2437,6 +2437,17 @@ If you do this: --------------------------------------- +*getarrayindex() + +This command returns the index of the passed array. This is useful when +used in combination with getarg() + +Example: + + getarrayindex(.@foo[42]) // 42 + +--------------------------------------- + *getelementofarray(, ) This command retrieves the value of the element of given array at given -- cgit v1.2.3-70-g09d2