In c, you'd write a simple function like this.
在c语言中可以编写一个简单的函数。
All of these make a simple function call impossible.
所有这些都使得简单的函数调用是不可能的。
In part, this is a simple function of supply and demand.
一部分原因可以归结为简单的供需问题。
In Listing 9, I define a simple function that takes no parameters.
在清单9中,定义了一个没有参数的简单函数。
This is not a real callback, but rather a simple function call.
这不是一个真正的回调,而是一个简单的函数调用。
I used a simple function to divide the world into land and water.
我用一个简单的函数来把世界分割成海洋和陆地。
With JSON, you call a simple function and get your data, formatted and ready for use.
如果使用JSON,只需调用一个简单的函数,就可以获得经过格式化的数据,可以直接使用了。
It is a simple function in Pascal with multiplies an integer with the constant 2.
这是一个用常量2来乘以一个整数的小函数。
Next, create a simple function that prevents your search form from acting like a typical form.
接下来,创建一个简单的函数来阻止搜索表单表现得像典型的表单那样。
This is a simple function for evaluating if the second category is a child of another category.
这是个简单的函数,用来第二个类别是不是另一个类别的子类别。
Listing 1 is a diagrammatic representation of gathering information from STAB format for a simple function.
清单1以图表形式展示了从stab格式收集一个函数的信息。
For example, in Listing 1, I define a simple function that prints out the contents of a collection, be it a list or a map.
例如,在清单1中,我定义了一个简单的函数,它将输出一个集合的内容,而不管这个集合是list还是map。
Now you can define a simple function to do nothing more than tell you how many parameters it has and display them as shown in Listing 1.
现在,您可以定义一个简单函数,其用途只是告诉您它所拥有的参数数量并显示这些参数,如清单1所示。
For readability purposes, this code will fit best if you create a simple function to generate the message. Doing so requires a total of four lines of code.
生成一个用于通信完成状态的简单消息框,仅需几行代码,出于方便阅读的目的,如果想创建简单的函数来生成消息,这个代码将最为合适。
This table, a simple function, like tea for the people, it is a family chat, communication soul space, and therefore to maintain visual Chengjing, cleanliness.
这张餐桌除具便餐的功能外,对喜欢喝茶的人,它还是个家人聊天、沟通的心灵空间,因此,尽量保持视觉的澄静、整洁。
The only reliable way to do it is to also export a class factory function, a simple function that USES the new operator to create the object and return the pointer.
唯一可靠的方法就是也出口类工厂函数,一个简单的函数,使用新的操作符来创建对象并返回的指针。
You can find some existing functions to compare Eclipse plug-in versions, or you can write a simple function to compare plug-in versions based on the sample code in Listing 4.
我们可以利用现有的一些函数来对Eclipse插件的版本进行比较,或者可以基于清单4所示的样例代码编写一个简单的函数来对插件版本进行比较。
By using a simple function like exit_msg and a few logical operators, the script could be condensed into the better-looking and easier-to-understand program shown in Listing 14.
只需使用exit_msg这样的简单函数和几个逻辑操作符,这个脚本就可以简化成更漂亮更容易理解的程序,见清单14。
This example is only storing string data, so arguably you can simply append it to a longer string and call a simple function in the CalculatorHandler, which in turn can parse it out.
本例只存储字符串数据,所以您可以简单地将之附加到一个较长的字符串后面,并调用Calculator Handler中的一个简单函数,然后该函数可以将之解析出来。
Business transactions might seem like a simple function to the invoking application, but they might be implemented as composite functions covered by their own transactional context.
业务事务很像是调用应用程序的简单函数,但是它们可能是作为自己的事务的上下文所包含的复合函数来实现的。
By adding a simple function to display a message and exit with the appropriate return code as well as moving everything into a for loop, the script looks cleaner and is easier to understand.
这个脚本增加了一个简单的函数来显示一个消息并带适当的返回码退出,还把所有操作转移到一个for循环中,这使这个脚本看起来更干净、更容易理解了。
This tells us that a simple linear function of time is an extremely bad model for outside temperature.
这就告诉我们,对室外温度来说,时间的简单线性函数是一个非常不好的模型。
When you set up a simple call to this function with a date that you know will retrieve some events, you get the results shown in Listing 4.
当您使用您知道将检索到一些事件的日期设置对这个函数的一个简单调用时,您将得到如清单4所示的结果。
If the device only performs a simple cryptographic function, all of the objects must be managed by the software.
如果设备只执行简单的密码功能,则所有对象必须由软件来管理。
However, a simple two-dimensional density plot of this function immediately gives us a good feeling for the simple and beautiful symmetry contained in the original formula.
然而,该函数的简单二维密度绘图马上给我们一种清晰的感觉,那就是在原公式中包含的简单而漂亮的对称结构。
So far, you've created a script header and some simple variables and added a function, as shown in Listing 14.
到目前为止,您已经创建了一个脚本标头和一些简单变量,并且添加了一个函数,如清单14所示。
Because if you don't register the function, it is a simple PHP function that is available only to this PHP page or other PHP pages that include this one.
因为如果不注册该函数,它只是可供包含它的本php页面或其他php页面调用的简单php函数。
With a simple built-in function, jQuery ensures that your code will work because it waits for the page to load.
借助一个简单的内置函数,jQuery 可以确保您的代码能够工作,因为它会等待页面加载。
If it's as simple as a normal function call, why wouldn't you want to use it?
如果Ajax的使用能简单到一个常规的函数调用,那为什么不使用它呢?
We created a simple helper function to support using the XMLHttpRequest object to invoke services using E4X.
我们创建了一个简单的辅助函数,以支持使用XMLHttpRequest对象来调用使用E4X 的服务。
应用推荐