Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Murray Roke 467 posts 875 karma points c-trib
    Mar 23, 2011 @ 05:30
    Murray Roke
    0

    formStorage.GetForm("non-existant-guid") != null; //why?

    The subject says it all.

    this means I'm doing this:

    if (form == null || form.Name == null) continue;

    which seems very hacky.

    I'd rather do:

    if (form == null ) continue;

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Mar 23, 2011 @ 09:26
    Tim Geyssens
    1

    Agreed, should return null if form doesn't exist, will add this to our issue tracker

    Thanks for reporting!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies