oddVar

  testing if a var is odd
odd




  randomHandler
>Anyone have an odd function for Director?  Normally a bitwise AND 1
>with the variable would do, but Director only supports a logical AND
>and I can't think of a work around.
>
>

on isOdd aVar
  return (aVar mod 2)
end


Home shock + cgi Bits 'n pieces Director Lingo Shocklets Contact










pageID=l_oddVar