Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Scilab > clearglobal

clearglobal

グローバル変数を削除

呼び出し手順

clearglobal()
clearglobal nam1 .. namn
clearglobal('nam1', ..,'namn')

パラメータ

nam1,..., namn

有効な変数名

説明

clearglobal() はグローバル変数を全て削除します.

clearglobal nam1 .. namn は名前で指定したグローバル変数を 削除します.

clearglobal() はグローバル変数のみをクリアし, これらのグローバル変数のローカルなコピーは破棄されないことに 注意してください.

global a b c
a=1;b=2;c=3;
who('global')
clearglobal b
who('global')

参照

  • global — グローバル変数を定義する
  • who — 変数の一覧
<< clearfun Scilab comp >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:12:31 CEST 2011