请输入您要查询的英文单词:

 

单词 Sub routine
释义

Sub routine

中文百科

子进程 Subroutine

(重定向自Sub routine)

在计算机科学中,子程序英语:Subroutine, procedure, function, routine, method, subprogram, callable unit),是一个大型程序中的某部份代码,由一个或多个语句块组成。它负责完成某项特定工作,而且相较于其他代码,具备相对的独立性。

一般会有输入参数并有传回值,提供对过程的封装和细节的隐藏。这些代码通常被集成为软件库。

函数在面向过程的语言中已经出现。是结构(Struct)和类别(Class)的前身。本身就是对具有相关性语句的归类和对某过程的抽象。

英语百科

Subroutine 子程序

(重定向自Sub routine)

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.

随便看

 

英汉双解词典包含3607232条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
京ICP备09058993号 更新时间:2025/8/8 12:49:11