CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 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