[svn-commits] trunk - r8080 /trunk/funcs/func_strings.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Jan 15 11:08:05 MST 2006


Author: tilghman
Date: Sun Jan 15 12:08:04 2006
New Revision: 8080

URL: http://svn.digium.com/view/asterisk?rev=8080&view=rev
Log:
Clarify description of ARRAY function

Modified:
    trunk/funcs/func_strings.c

Modified: trunk/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_strings.c?rev=8080&r1=8079&r2=8080&view=diff
==============================================================================
--- trunk/funcs/func_strings.c (original)
+++ trunk/funcs/func_strings.c Sun Jan 15 12:08:04 2006
@@ -224,10 +224,12 @@
 	.syntax = "ARRAY(var1[,var2[...][,varN]])",
 	.write = builtin_function_array,
 	.desc =
-"The comma-separated list passed as a value to which the function is set\n"
-"will be interpreted as a set of values to which the comma-separated list\n"
-"of 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",
+"The comma-separated list passed as a value to which the function is set will\n"
+"be interpreted as a set of values to which the comma-separated list of\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"
+"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) 



More information about the svn-commits mailing list