From f67ae9b31195a0bf30a18e892e755884aa54b1aa Mon Sep 17 00:00:00 2001 From: Andrew Ryan Davis Date: Sun, 16 Aug 2020 14:46:42 -0700 Subject: Addressing bitwise and/or Mistakenly left "and/or", changed to "-band/-bor" --- powershell.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powershell.html.markdown b/powershell.html.markdown index 3de8d07e..45c47017 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -89,12 +89,12 @@ $False - 5 # => -5 # Using boolean logical operators on ints casts them to booleans for evaluation # but their non-cast value is returned -# Don't mix up with bool(ints) and bitwise and/or (&,|) +# Don't mix up with bool(ints) and bitwise -band/-bor [bool](0) # => False [bool](4) # => True [bool](-6) # => True -0 -and 2 # => 0 --5 -or 0 # => -5 +0 -band 2 # => 0 +-5 -bor 0 # => -5 # Equality is -eq (equals) 1 -eq 1 # => True -- cgit v1.2.3