0

What the difference between not equal != and <> ?

Courious and for knowledge

30th Sep 2020, 7:54 PM
Ikbal Rizky Afrizal
Ikbal Rizky Afrizal - avatar
3 ответов
+ 6
Not equal is for objects that describe when they are equal to another object. <> needs a further method to compare. example: Two Strings are not equal if one index exists where characters are different. But this says nothing about the order.
30th Sep 2020, 8:03 PM
Oma Falk
Oma Falk - avatar
+ 4
sure
1st Oct 2020, 4:55 AM
Oma Falk
Oma Falk - avatar
0
Can we use like this? If (i%2 <> 0)....... Instead If (i%2 != 0).......
30th Sep 2020, 8:09 PM
Ikbal Rizky Afrizal
Ikbal Rizky Afrizal - avatar