Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/Empty-string/AutoHotkey/empty-string.ahk
Normal file
20
Task/Empty-string/AutoHotkey/empty-string.ahk
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
;; Traditional
|
||||
; Assign an empty string:
|
||||
var =
|
||||
; Check that a string is empty:
|
||||
If var =
|
||||
MsgBox the var is empty
|
||||
; Check that a string is not empty
|
||||
If var !=
|
||||
Msgbox the var is not empty
|
||||
|
||||
|
||||
;; Expression mode:
|
||||
; Assign an empty string:
|
||||
var := ""
|
||||
; Check that a string is empty:
|
||||
If (var = "")
|
||||
MsgBox the var is empty
|
||||
; Check that a string is not empty
|
||||
If (var != "")
|
||||
Msgbox the var is not empty
|
||||
Loading…
Add table
Add a link
Reference in a new issue