网站首页  情感咨询  情感美文  情感百科  情感生活  学习充电  旧版美文

请输入您要查询的词汇:

 

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

随便看

 

依恋情感网英汉例句词典收录3870147条英语例句词条,基本涵盖了全部常用英语单词的释义及例句,是英语学习的有利工具。

 

Copyright © 2004-2024 Yiyi18.com All Rights Reserved
京ICP备2021023879号 更新时间:2025/8/5 15:37:03