Topic
1 reply Latest Post - ‏2013-01-31T14:45:22Z by dusherwo
SystemAdmin
SystemAdmin
658 Posts
ACCEPTED ANSWER

Pinned topic Product Exists

‏2013-01-28T10:46:41Z |
I have seen in our development environment quite a few scripts which are written like this

If(DIMIX('Products',pProducts)0);
ProcessQuit;
EndIf;

What iam confused here is obviously the scripts says if products dimenension's pProducts index is not equal to zero means if it exists,couldn't we simply use 1 instead of 0.Sorry for my silly question.Appreciate your explanation.Thanks
Updated on 2013-01-31T14:45:22Z at 2013-01-31T14:45:22Z by dusherwo
  • dusherwo
    dusherwo
    73 Posts
    ACCEPTED ANSWER

    Re: Product Exists

    ‏2013-01-31T14:45:22Z  in response to SystemAdmin
    Erm...
    That would only pick up where the index of the element was 1...