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

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ヘルプ >> Scilab > Variables > names

names

Scilab 名前の構文

説明

変数および関数の名前は文字または以下の特殊文字のとれかから始まる必要があります: '%', '_', '#', '!', '$', '?'.

以下に続く文字は,文字,数字, '_', '#', '!', '$', '?' を含む任意の特殊文字とすることができます.

大文字小文字は区別されます.

名前は任意の長さとすることができますが,最初の24文字のみが認識されます. 大文字と小文字は区別されます. この制限を超えた場合,警告が発生します. この制限はScilab 6のリリースでも変わらないことに注意してください.

//有効な名前
%eps
A1=123
#Color=8
My_Special_Color_Table=rand(10,3)
//無効な名前
//1A , b%, .C
//長い名前
Try_to_use_a_long_name = 1 // 長いが長すぎない
Try_to_use_a_too_long_name = 1 // 長すぎる
// 同様な長い名前を有する2番目の変数を挿入してみましょう
Try_to_use_a_too_long_name2 = 2
// ... 最初の変数の値を見てみましょう
disp(Try_to_use_a_too_long_name)
// この制限は Scilab 6のリリースでも変わらないことに注意してください.
Report an issue
<< isglobal Variables predef >>

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:
Tue Feb 14 15:10:25 CET 2017