I am using this if-statement which works fine:
Code: Select all
name:="filename with no ext"
if (FileExist("C:\" name ".*.part")) {
Msgbox File wasn't downloaded
Do A
}
else if not (FileExist("C:\" name ".*")) {
Msgbox File wasn't downloaded
Do A
}
But since both statements do the same thing when triggered, I would like to use a better syntax, more condensed if possible.
Is there some other better way to rewrite the same code?