WorldDMT commented on a Page, spank  -  Jun 05, 2009

@aucun50:

if (!$2) is the same as if ($2 == $null) just shorter

wrong!!

mabe can be used in this case but "!$1" and "$1 == $null" r not same

look try this

alias test {
  if ($1 == $null) echo 4 -a null
  elseif (!$1) echo 4 -a false
  else echo 3 -a true
}

type:

/test
/test 0
/test 1

and see what i try to tell u.

return

null
false
true

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.