VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

GOSUB

Windows Linux macOS

Syntax

GOSUB <label>

Description

Causes script execution to jump immediately to the command following the label :<label>. When an EXIT command is encountered, execution will jump back to the command following the GOSUB.

GOSUB commands may be nested a maximum of 16 levels deep.

OK

Unchanged.

Example

  GOSUB sayhello
  INFO Goodbye
  EXIT
:sayhello
  INFO Hello
  EXIT

See also