From the book: Example of pseudo-code for a properly restructured condition check
while ( i < MAX_ELEMENTS ) if ( item[ i ] <> 0 ) then I do not understand what it means <>
From the book: Example of pseudo-code for a properly restructured condition check
while ( i < MAX_ELEMENTS ) if ( item[ i ] <> 0 ) then I do not understand what it means <>
<> - means not equal . The syntax is similar to Pascal.
In your case: if item[i] not equal to 0 , then perform some actions.
Не равно it != But ultimately it is equivalent. In languages where there is a sign ! used as not , accepted != . And where not, there <> , that would not spoil the language as a whole. Somewhere both options are used. - SergeySource: https://ru.stackoverflow.com/questions/526139/
All Articles