list(n) Tcl Built-In Commands list(n) _________________________________________________________________________________________________ NAME list - Create a list SYNOPSIS list ?arg arg ...? _________________________________________________________________ DESCRIPTION This command returns a list comprised of all the args, or an empty string if no args are specified. Braces and backslashes get added as necessary, so that the lindex command may be used on the result to re-extract the original arguments, and also so that eval may be used to execute the resulting list, with arg1 comprising the command's name and the other args comprising its arguments. List produces slightly different results than concat: concat removes one level of grouping before forming the list, while list works directly from the original arguments. EXAMPLE The command list a b "c d e " " f {g h}" will return a b {c d e } { f {g h}} while concat with the same arguments will return a b c d e f {g h} SEE ALSO lappend(n), lindex(n), linsert(n), llength(n), lrange(n), lrepeat(n), lreplace(n), | lsearch(n), lset(n), lsort(n) KEYWORDS element, list Tcl list(n) XQueryExtension(3) X FUNCTIONS XQueryExtension(3) NAME XQueryExtension, XListExtensions, XFreeExtensionList - list available extensions SYNTAX Bool XQueryExtension(display, name, major_opcode_return, first_event_return, first_error_return) char **XListExtensions(display, nextensions_return) XFreeExtensionList(list) ARGUMENTS display Specifies the connection to the X server. name Specifies the extension name. major_opcode_return Returns the major opcode. first_event_return Returns the first event code, if any. first_error_return Returns the first error code, if any. nextensions_return Returns the number of extensions listed. list Specifies the list of extension names. DESCRIPTION The XQueryExtension function determines if the named extension is present. If the exten- sion is not present, XQueryExtension returns False; otherwise, it returns True. If the extension is present, XQueryExtension returns the major opcode for the extension to major_opcode_return; otherwise, it returns zero. Any minor opcode and the request formats are specific to the extension. If the extension involves additional event types, XQueryExtension returns the base event type code to first_event_return; otherwise, it returns zero. The format of the events is specific to the extension. If the extension involves additional error codes, XQueryExtension returns the base error code to first_error_return; otherwise, it returns zero. The format of additional data in the errors is specific to the extension. If the extension name is not in the Host Portable Character Encoding the result is implementation-dependent. Uppercase and lowercase mat- ter; the strings ``thing'', ``Thing'', and ``thinG'' are all considered different names. The XListExtensions function returns a list of all extensions supported by the server. If the data returned by the server is in the Latin Portable Character Encoding, then the returned strings are in the Host Portable Character Encoding. Otherwise, the result is implementation-dependent. The XFreeExtensionList function frees the memory allocated by XListExtensions. X Version 11 libX11 1.6.7 XQueryExtension(3)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-28 03:32 @3.16.66.206 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)