>> (typeof(x) & _typeof(y)) == _typeof(y);
>(8) Result: 1

A simpler (better?) way to test "can x hold the value y" is

typeof(x) >= _typeof(y)
  • Int... Lance Dillon
    • ... Lance Dillon
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... H. William Welliver III
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to