ウィキペディア英語版

出典:Wikipedia

GOSUB

出典:『Wikipedia』 (2011/07/13 22:24 UTC 版)

英語による解説

ウィキペディア英語版からの引用
引用

GOSUB is a command in many versions of the BASIC computer programming language. GOSUB statements branch to simple kinds of subroutines without (sometimes with) parameters or local variables, the RETURN command resuming program flow from the point at which GOSUB was invoked. The GOSUB command is convenient for performing the same function several times in a BASIC program without duplicating the code. Using GOSUB too many times, as in a loop, without corresponding RETURN statements would typically cause a stack overflow and when the BASIC interpreter encounters a RETURN statement without a GOSUB it will emit a RETURN WITHOUT GOSUB error.

調べた例文を記録して、効率よく覚えましょう
Weblio会員無料で登録できます
履歴機能 過去に調べた単語を確認できる
語彙力診断 診断回数が4回に増加
マイ単語帳 便利な学習機能付き
マイ例文帳 文章で意味を理解できる

閲覧履歴

gosubのページの著作権