网站首页  英汉词典

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

 

单词 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.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/22 5:24:46