中英
subroutines
  • 简明
  • 柯林斯
  • n.[计]子程序(subroutine 的复数);副程式
  • 网络释义
  • 专业释义
  • 英英释义
  • 1

     子程序

    ...要:简介FreeMarker 中支持的类型有这些:Scalars:StringNumberBooleanDate容器:HashSequenceCollection子程序 (Subroutines):方法和函数..

  • 2

     副程式

    Subroutines(副程式):不同的程序须处理相同的动作时,可使用subroutines以减少程序的撰写,并使未来模式的维护更为便利,与一般程式中的副程式有相同...

  • 3

     副程序

    举 资讯,这就像是 C 语言的函数,或是 FORTRAN 语言的副程序(Subroutines) 例来说,若要计算一个正整数的阶乘 (Factorial) ,我们可以写一个如下的 MATLAB 函数并将之存档于 fact.m: function output ...

短语
查看更多
  • 双语例句
  • 权威例句
  • 1
    Stored procedures and U2 subroutines.
    存储过程和U 2子例程。
  • 2
    Subroutines, references, and data structures.
    子程序、引用和数据结构。
  • 3
    It was also programmed with subroutines for logarithms and trigonometry.
    它也用编好的子程序计算对数和三角。
查看更多
  • 百科
  • Subroutines

    In computer programming, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed. Subprograms may be defined within programs, or separately in libraries that can be used by multiple programs. In different programming languages, a subroutine may be called a procedure, a function, a routine, a method, or a subprogram. The generic term callable unit is sometimes used.As the name subprogram suggests, a subroutine behaves in much the same way as a computer program that is used as one step in a larger program or another subprogram. A subroutine is often coded so that it can be started (called) several times and/or from several places during one execution of the program, including from other subroutines, and then branch back (return) to the next instruction after the call once the subroutine's task is done. Maurice Wilkes, David Wheeler, and Stanley Gill are credited with the invention of this concept, which they termed a closed subroutine, contrasted with an open subroutine or macro.Subroutines are a powerful programming tool, and the syntax of many programming languages includes support for writing and using them. Judicious use of subroutines (for example, through the structured programming approach) will often substantially reduce the cost of developing and maintaining a large program, while increasing its quality and reliability. Subroutines, often collected into libraries, are an important mechanism for sharing and trading software. The discipline of object-oriented programming is based on objects and methods (which are subroutines attached to these objects or object classes).In the compiling method called threaded code, the executable program is basically a sequence of subroutine calls.

查看更多