Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский
Scilabヘルプ >> Scilab > Variables > names

names

Scilab 名前の構文

説明

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

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

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

Multilingual UTF-8 characters are accepted.

Names may be as long as you want.

// 有効な名前
%eps
A1 = 123
#Color = 8
 = 2
My_Special_Color_Table = rand(10,3)

// 無効な名前
//1A , b%, .C

//長い名前
The_name_of_an_identifier_is_not_length_limited = 1

// A kilometric name (1000-char long) :
name = strcat(part("a",ones(1,1000)));
execstr(name+"=%pi; b ="+name);
b

履歴

バージョン記述
6.0
  • Scilab's parser no longer truncates names longer than 24 characters.
  • UTF-8 characters are now accepted in names of variables and fields.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Feb 14 15:02:01 CET 2019