This difference is important when you write functions that are supposed to modify lists. For example, this function does not delete the head of a list.
这以区别相当重要,尤其是当你写一些要修改列表的函数的时候。比如下面这个函数并没有能够删除列表的第一个元素。
If you have Designer or Manager rights to your mail file, you can modify this agent by double-clicking it in the agent list.
如果具有对邮件文件的设计者或管理者权限,则可以通过双击代理列表中的邮件文件对其进行修改。
Most of these functions are actually procedures, however, because they modify their list argument in-place.
大部分这些函数实际上是过程,因为它们现场修改它们的列表参数。
For your selection list items to be rendered as buttons, you must modify your default rendering set to specify that selection list items should now be rendered as buttons instead of links (Figure 7).
为了让您的选择列表项目以按钮的形式呈现出来,您必须修改缺省呈现集,规定各个选择列表项目应呈现为按钮而不是链接(图7)。
You can modify this to work with any sort of archiver, assuming you can find a way to feed it a list of files to archive through a pipe.
您可以对这个脚本进行修改,以便使用任何种类的存档工具,假定您找到了一种通过管道传递需要进行存档的文件列表的方法。
Note that the function can only access the list as an immutable sequence-that is, trying to modify the contents of the list results in an error.
注意,函数只能作为不可变的序列访问这个列表—也就是说,尝试修改列表的内容会导致错误。
Now that the mutex is unlocked, other threads can access and modify the linked list, possibly adding items.
现在互斥对象已被解锁,其它线程可以访问和修改已链接列表,可能还会添加项。
Since both the garbage collector thread and the writer thread can try to modify the global list at the same time, some kind of locking mechanism also has to be used.
因为垃圾收集器线程和写入者线程可能同时尝试修改全局列表,所以同样也需要使用某种锁定机制。
Now, I'll modify the elements in Listing 2 to avoid font size shrinkage for the paragraphs and lists when one parent list contains a child list.
现在,我将修改清单2中的元素,避免在父列表包含一个子列表时段落和列表的字体大小缩小。
We established the schema (loosely) and implemented a tool to add, list, modify, and delete images and comments.
我们确立了松散的模式,并实现一个工具来添加、列举、修改和删除照片和评论。
Editors can modify any item in the List, whereas Authors are restricted to modifying only their own items.
Editor可以修改List中的任何项,而Author限制为仅可修改他们自己的项。
Click the panel List leaf, and modify the labels for bfpanel1 and bfpanel2 to say Ten Day Forecast and State Details, respectively (see Figure 39).
点击panellist页节点,并修改bfpanel1和bfpanel2的标签,分别输入tenDayForecast和StateDetails(参见图39)。
Select your portlet from the list, then click Modify Parameters.
请从列表中选择您的portlet,然后单击ModifyParameters。
The user can also modify event data, using the corresponding Edit link in the list view.
用户还可以使用列表视图中的对应Edit链接修改事件数据。
From the list, select the Custom type, and modify the user and group filters to use other LDAP servers, if required.
从列表中,选择Customtype,并修改userandgroupfilters以使用其它LDAP服务器,如果需要的话。
On the Basics tab of the File Protection document, accept the default options and modify the access control list to make sure that the domino/html/web2.0 directory is specified as the Path.
在FileProtection文档的Basics附签上,接受默认的选项并修改accesscontrol列表以确保将domino/html/web2.0目录指定为Path。
By combining what you know about slicing with the knowledge that a list can be modified, you've gained a significant insight: you can modify a list in a number of ways.
通过综合切片知识以及如何修改list的知识,您应该已经获得了非常重要的见识:可以通过多种方式修改列表。
An important point to remember with these operations, however, is that they operate in place, which means they modify the list on which they're called.
不过,要记住这些操作的一个重点在于,它们是就地操作,这意味着它们会修改调用它们所针对的list。
From any topic page, you can modify your selected products by clicking on Manage my product list (Figure 17).
从任何一个主题页面,您都可以通过单击Managemyproductlist(图17)修改所选产品。
Next, modify the PAM configuration files to add the pam_namspace.so module to the list of required modules to run on login from the console and from the secure shell.
接下来,修改PAM配置文件,将 pam_namspace.so模块添加到从控制台或安全shell登录时要运行的模块列表中。
The chgrpmem command allows you to list, add, and remove users from a group as well as modify the administrators of the group.
可以使用chgrpmem命令列出、添加和删除组中的用户,以及改变组管理员。
The Python list is a mutable sequence, which creates an intriguing possibility: that the body of the for loop could modify the list it is being iterated over.
Pythonlist是一个可变序列,提供了一种令人好奇的可能性:for循环主体可以修改其正在迭代的list。
You should also be able to add, delete, and modify contacts from the list.
您还应当能够在列表中添加、删除和修改联系人。
Doing so would almost always be a serious mistake, however, because even when their return values are used in this way, list-related functions still modify their original argument.
但是这样做通常是一个严重的错误,因为即使它们返回的值以这种方式使用,与列表相关的函数仍然修改它们的原始参数。
The first potential future change would modify the unacknowledged packet list so that it is organized with an index as a red-black tree instead of the current linear list.
第一个可能的未来改变是对未应答的包列表进行修改,因此包列表的组织形式不再是当前的线性列表而是通过索引组织成红-黑树。
Now you have a nice list of parameters you can modify!
现在,您获得了列出可修改的参数的列表!
When you modify the list of dependencies and save the file, PDE automatically updates your classpath.
修改依赖项列表并保存了文件后,PDE将自动更新您的类路径。
Right-click the table name, and modify the column list so that it uses all of the columns.
右键点击表格名,并编辑列,这样它就会使用所有的列了。
We can now modify our script further to read these machine names into a list structure, and connect to the registries of each one in turn.
现在我们可以进一步修改脚本以把这些机器名读取到一个列表结构中,并轮流连接到每{##*台机器的注册表。
Modify the previous program so that it prints the longest list of anagrams first, followed by the second longest, and so on.
修改一下之前的程序,让它先输出变位词列表中最长的,然后是其次长的,依此类推。
应用推荐