Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/24/2013 in all areas

  1. I have not tested whether the type testing or the following is better performance, but my tweak below fixes the undetected coercion problem.
    1 point
  2. Hey, neat! Your way of determining if a data type is an error cluster... ...is quite a bit simpler than the way I do it: Sorry to get off-topic, but I always like to recognize cleverness when I see it. The only time your way would run into trouble is when the variant is a cluster containing a non-I32 numeric type: In this case, since Variant to Data will convert any simple numeric type into any other simple numeric type without error, your way would determine that the cluster was an error cluster, but my way would not. Incidentally, this code that I use for determining if a type is an error cluster is located here: vi.lib\addons\analyzer\_analyzerutils.llb\VIAnUtil Check Type If ErrClust.vi.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.