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=exprwhereais a variable name andexpra scilab expression which evaluates to a single result;[a,b,...]=exprwherea,b,...are variable names andexpra scilab expression which results in as many results as given variable names.
- Comparison:
The equal sign
=is also used in the comparison operators:a==bdenotes equality comparison between the values of the expressionsaandb;a~=bdenotes inequality comparison between the values of the expressionsaandb;a<=banda>=bdenote ordering comparison between the values of the expressionsaandb.
See comparison for semantic details.
Examples
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.