doc: add and, or, not, is, is not operators

This commit is contained in:
2024-11-10 12:22:54 +00:00
parent 8a7198b70b
commit 839259cdd7

View File

@@ -409,8 +409,11 @@ cout put:'Hello, world!' unless x <= 10.
execution.
- unary operators
- boolean NOT (!)
- boolean NOT (not)
- bitwise NOT (~)
- binary operators
- Type check operator (is, is not)
- Protocol check operator (understands)
- unary messages, complex messages
- binary operators
- multiplication (*)
@@ -423,8 +426,8 @@ cout put:'Hello, world!' unless x <= 10.
- bitwise AND (&)
- bitwise XOR (^)
- bitwise OR (|)
- boolean AND (&&)
- boolean OR (||)
- boolean AND (and)
- boolean OR (or)
- cascade (;)
- inline if-else
- keyword messages
@@ -538,6 +541,12 @@ p1 = do
x
end.
v = 'Hello'.
if v is String then
cout put:'v is a string!'
end
/******************************************************************************/
/**