很久以前,函数被称为“子程序”(我知道,我这样说证明我已经老了!)管理复杂性的主要方式之一是自顶向下的编程模式。
A long time ago, when functions were called "subroutines" (I'm dating myself, I know), one of the main ways to manage complexity was top-down programming.
子程序有两种形式——过程或函数。
Subprograms occur in one of two forms — procedures or functions.
需要在主程序中调用initialize_vertices函数,因此把函数调用添加到位于第597行的main子程序中。
The initialize_vertices function needs to be called in the main program, so add the function call in the main subroutine at line 597.
我想它可作为一个很好的MSSAX,递归函数和子程序等等的示例。
I thought it might be good as an example of MS SAX, recursive functions and subroutines and more.
因为UI线程在睡眠,所以当UI线程一旦被唤醒例子程序就会列出5个定时器事件(4到8)并能够处理处理函数。
Because the UI thread was sleeping, however, the sample application displays the five timer events (4 through 8) all at once when the UI thread wakes up again and is able to process the handlers.
图标和连接器提供了VI作为其他VI中的子程序或函数时的图形表示和所需的参数定义。
The icon and connector provide the graphical representation and parameter definitions needed if you want to use a vi as a sub-routine or function in the block diagrams of other VIs.
这是一个处理位图的子程序例程和函数的精品。
A selection of sub routines and functions dealing with bitmaps.
高级语言中子程序的副作用是指子程序(过程和函数)对全程量或非局部量的改变。
In advanced language program, the side effect of the subprogram is referred that the subprogram (procedure or function) change public variable or no local variable.
使用构造函数链而不是创建公用的有用子程序。
Use constructor chaining instead of creating a common utility routine.
使用构造函数链而不是创建公用的有用子程序。
Use constructor chaining instead of creating a common utility routine.
应用推荐