You can change that last code sample to show the type attribute by using the code in Listing 7.
您可以更改上面的代码样例来显示type属性,可以使用清单7中所示代码实现上述操作。
All the actions below end with '1;' because the last code in the action determines whether the action succeeded (0) or failed (1) as a return code.
下面所有的操作都以‘1;’结尾,因为操作中的最后代码确定了该操作是成功(返回码为0)还是失败(返回码为1)。
Before I put this all together in Listing 18, you might want to take one last look at the smelly code I started out with, back in Listing 13.
在将这些内容都放入清单18之前,您可能希望返回清单13最后看一眼开始时使用的那段蹩脚的代码。
These architects last wrote code about a decade ago, and now they're making the important decisions for your company.
这些架构师最后一次编写代码是在十多年以前,而现在他们为您的公司作出重要决定。
This last option is particularly useful in debugging because it makes the XML code more readable.
这最后一个选项在调试过程中特别有用,因为它使得XML代码更加可读。
It actually just replaces the body of the last method declared in the skeleton, so careless code changes to the skeleton can be a good way to hurt yourself and confuse your coworkers.
实际上,它只会替换在骨架中声明的最后一个方法的代码,因此如果粗心地修改骨架的代码,就很容易出错,而且会让您的同事迷惑不解。
I've saved the best, nastiest code for last.
我将最好的、最困难的代码留到了最后。
Last month, I showed you how to use code metrics to evaluate the quality of your code.
上一期文章中,我展示了如何使用代码度量来评估代码质量。
This is not always the cleanest method but for the most part will ensure that the last good code package for portlets is reinstalled in the portal.
这可能并不总是最简洁的方法,但对于大部分情况,这将确保在门户中重新安装最新的有效代码包。
I won't cover every last line of code, every intermediate step, or every detail of hardware; that would take a book and would be obsolete by the time you read it.
我不会讲述每一行代码、每一个中间步骤以及每一个硬件细节;那需要一本书来讲解,而且到您读到它的时候,它已经过时了。
As you've probably figured out, we'll hit trouble with that last line of code.
您可能已经发现了,代码的最后一行将会带来问题。
And back to my last point, much of the time you are modifying someone else's code.
而且就如我在上一点所说,大多数时候你都是在修改利用别人的代码。
The last thing we need to do is add some error-handling code for uploads larger than 1mb.
最后,我们需要对大于1MB的上传文件进行错误处理。
He presents the last essay in Beautiful Code, called Writing Programs for "the Book."
他在BeautifulCode中撰写了最后的一篇评论,称作“为本书”编写程序。
Last time, we added the code for the Fraud Check grid application but didn't cover the solution structure itself.
上次,我们为FraudCheck网格应用程序添加了代码,不过并未讲解解决方案结构本身。
In addition to that, Google has indirectly funded development the this summer and last summer through its summer of Code program.
除了这些,Google还通过它的夏日代码计划(Summerof Code program)在去年和今年的夏天间接地赞助了开发。
First, take this last bit of overview before you dive into code — make sure you're crystal clear on this idea of the Web 2.0.
在深入研究代码之前首先看看最近的观点——一定要十分清楚Web 2.0这个概念。
Note that because I made synonyms read-only in Listing 3, Ruby denied my attempt in the last line of code in Listing 7.
注意,因为在清单3 中使 synonyms成为只读的,所以 Ruby拒绝执行清单7中的最后一行代码。
This explains the use of substr (text, match [0], match [1]) in the last line of code.
这解释了最后一行代码中substr (text,match [0],match[1])的使用。
If the custom code is not just before the last page, then you can use the Up and Down buttons in the center of the test editor to place the code.
如果这个自定义代码不是在最后一页之前,那么您可以使用这个测试编辑器的Up和Down按键来放置代码。
Finally, we have one last thing to look at: the client code for using this servlet.
最后,我们再看一个地方:使用该servlet的客户机代码。
Ed Anuff announced last week the first source code release of Usergrid, a comprehensive platform stack for mobile and rich client applications.
EdAnuff上周宣布第一版usergrid的代码已经发布,Usergrid是一款适用于移动和富客户端应用的综合性平台。
While the code I released last month was not very useful (I know because I had to work hard to publish ananas.org with XM), this month's version is more practical.
虽然我在上个月发布的代码不是非常有用(我知道必须努力工作来使用XM发布ananas.org),这个月的版本会更实用。
This happened with my students last year and I realized this year that I needed to enforce code quality in the projects.
在去年,这种情况我的学生们曾经遇到过,所以今年我意识到项目的代码质量有必要加强的问题。
The last feature I found in all these IDEs was support for both canned and custom code snippets.
在所有这些IDE中我发现的最后一个特性是对于整段和定制代码片段的支持。
The last feature I found in all these IDEs was support for both canned and custom code snippets.
在所有这些IDE 中我发现的最后一个特性是对于整段和定制代码片段的支持。
Each row shows the city, state, zip code and the last purchase date associated with the particular customer.
每一行显示与特定客户相关联的城市、州、邮政编码和最后购买日期。
What I have done for the last two years is use this executable architecture as the starting code for the software engineering courses.
我在前两年里所做的工作就是,将这一可执行的体系结构作为软件工程课程的出发代码。
To add a record definition, place the cursor on the last line of code in the editor.
要添加一条记录定义,将光标移到编辑器的最后一行代码上。
The last bit of code asks the form (composite) to position the widgets you created.
最后一部分代码要求表单(组合而成)确定所创建部件的位置。
应用推荐