- Aide Scilab
- Scilab
- Mots clés Scilab
- ans
- backslash (\)
- brackets ([,])
- case
- colon (:)
- comma (,)
- comments
- do
- dot (.)
- else
- elseif
- empty ([])
- end
- for
- global
- hat (^)
- if then else
- left ([)
- minus (-)
- not (~)
- parents ( )
- percent (%)
- plus (+)
- power
- quote (')
- return
- select
- semicolon (;)
- slash (/)
- star (*)
- then
- tilda (~)
- try
- while
- comparison
- equal
- less
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
equal
(=) assignment , comparison, equal sign
Description
- Assignment:
The equal sign
=
is used to denote the assignment of value(s) to variable(s). The syntax can be :a=expr
wherea
is a variable name andexpr
a scilab expression which evaluates to a single result.[a,b,...]=expr
wherea
,b
,...
are variable names andexpr
a scilab expression which results in as many results as given variable names.
- Comparison:
The equal sign
=
is also used in the comparison operators:a==b
, denotes equality comparison between the values of the expressionsa
andb
.a~=b
, denotes inequality comparison between the values of the expressionsa
andb
:a<=b
anda>=b
denotes ordering comparison between the values of the expressionsa
andb
:
See comparison for semantic details.
See Also
- less — (<) lower than comparison
- great
- boolean — Objets Scilab, variables booléennes et opérateurs & | ~
- isequal — objects comparison
- comparison — comparison, relational operators
<< comparison | Mots clés Scilab | less >> |