- Aide Scilab
- Scilab
- Mots clés Scilab
- ans
- backslash
- brackets ([,])
- colon
- comma
- comments
- dot (.)
- else
- elseif
- empty ([])
- end
- extraction
- global
- hat (^)
- insertion
- left ([)
- minus (-)
- not (~)
- parents ( )
- percent (%)
- plus (+)
- power
- quote (')
- semicolon
- slash (/)
- star (*)
- symbols
- tilda
- try
- comparison
- dollar
- equal
- less

Please note that the recommended version of Scilab is 6.1.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`

where`a`

is a variable name and`expr`

a scilab expression which evaluates to a single result;`[a,b,...]=expr`

where`a`

,`b`

,`...`

are variable names and`expr`

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 expressions`a`

and`b`

;`a~=b`

denotes inequality comparison between the values of the expressions`a`

and`b`

;`a<=b`

and`a>=b`

denote ordering comparison between the values of the expressions`a`

and`b`

.

See comparison for semantic details.

### See Also

- less — (<) less than comparison
- greater
- boolean — Objets Scilab, variables booléennes et opérateurs & | ~
- isequal — objects comparison
- comparison — comparison, relational operators

## Comments

Add a comment:Please login to comment this page.