Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Scilab > Variables > names

names

scilab names syntax

Descrição

Nomes de variáveis ou funções no Scilab devem começar com uma letra, ou com um dos seguintes caracteres especiais: % _ # ! ? $

Os próximos caracteres podem ser letras ou um dos seguintes caracteres especiais: _ # ! ? $

Letras maiúsculas e minúsculas são diferentes.

Multilingual UTF-8 characters are accepted.

Names may be as long as you want.

Exemplos

//Nomes válidos
%eps
A1 = 123
#Color = 8
função = "linspace"

//Nomes inválidos
//1A , b%, .C

// Long names
The_name_of_an_identifier_is_not_length_limited = 1

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

Histórico

VersãoDescrição
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.
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:
Mon Jan 03 14:35:19 CET 2022