Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1: Backported operator !== from alpha branch. #274

Merged
merged 1 commit into from
Oct 30, 2022

Conversation

jeeswg
Copy link
Contributor

@jeeswg jeeswg commented May 5, 2022

Test code

;test code: !== (case-sensitive not-equal operator) (AHK v1)

oArray1 := []
oArray2 := []
vText1 := "ABC"
vText2 := "abc"
vNum1 := 1
vNum2 := 0

oOutput1 := [""
, oArray1 != oArray1
, oArray1 != oArray2
, vText1 != vText1
, vText1 != vText2
, vNum1 != vNum1
, vNum1 != vNum2]

oOutput2 := [""
, oArray1 !== oArray1
, oArray1 !== oArray2
, vText1 !== vText1
, vText1 !== vText2
, vNum1 !== vNum1
, vNum1 !== vNum2]

vOutput1 := ""
for _, vValue in oOutput1
	vOutput1 .= vValue
vOutput2 := ""
for _, vValue in oOutput2
	vOutput2 .= vValue
vOutput := vOutput1 "`r`n" vOutput2

Clipboard := vOutput
MsgBox, % vOutput ;010001 010101
return

@Lexikos Lexikos merged commit c137693 into AutoHotkey:master Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants