mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
Clarify description of ARRAY function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -224,10 +224,12 @@ struct ast_custom_function array_function = {
|
|||||||
.syntax = "ARRAY(var1[,var2[...][,varN]])",
|
.syntax = "ARRAY(var1[,var2[...][,varN]])",
|
||||||
.write = builtin_function_array,
|
.write = builtin_function_array,
|
||||||
.desc =
|
.desc =
|
||||||
"The comma-separated list passed as a value to which the function is set\n"
|
"The comma-separated list passed as a value to which the function is set will\n"
|
||||||
"will be interpreted as a set of values to which the comma-separated list\n"
|
"be interpreted as a set of values to which the comma-separated list of\n"
|
||||||
"of variable names in the argument should be set.\n"
|
"variable names in the argument should be set.\n"
|
||||||
"Hence, Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2\n",
|
"Hence, Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2\n"
|
||||||
|
"Note: remember to either backslash your commas in extensions.conf or quote the\n"
|
||||||
|
"entire argument, since Set can take multiple arguments itself.\n",
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *builtin_function_len(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
|
static char *builtin_function_len(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
|
||||||
|
Reference in New Issue
Block a user