Standard Finishing
4Over

Announcement

Collapse
No announcement yet.

Logic Symbols

Collapse
Canon
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logic Symbols

    Does anyone know what <> means in QLingo in XMPie?

  • #2
    Re: Logic Symbols

    Marlene

    Your post does not make sense - perhaps you should check out:

    http://groups.google.com/group/xmpie-users

    Cheers

    Tim Perrett
    print application architect

    Comment


    • #3
      Re: Logic Symbols

      I am wondering what the following symbol means in QLingo in XMPie: <> (the less than and greater than keys) I am hoping/gessing it means contains.

      Comment


      • #4
        Re: Logic Symbols

        No that means "is equal to" - its a legacy VB syntax.

        Your better off just using "==" as its clearer and easier to understand. What are you actually trying to do?

        Tim

        Comment


        • #5
          Re: Logic Symbols

          I am trying to bring a graphic in based on the first part of my target.
          I have a target value of BO234 and I want to say that if my reference code (example: BO234) “contains” BO than use South America.jpg else if reference code "contains" RW (example: RW572) than use Africa.jpg and so on. Do you have an suggestions on how I can do this? I am using XMPie. I was told I could use SubString or Find but I still need help. Thank You!

          Comment


          • #6
            Re: Logic Symbols

            Marlene,

            Again, I would suggest you do one of the following:

            a) contact the chaps who sold you XMPie as all xmpie products *should* be sold with an element of support, so depending on your package you might have access to the support portal - if so, its better you get this questioned answered there.

            b) Failing that, see my previous note about joining the open xmpie interest group (which is totally free) and post your questions there.

            You are right, substring is exactly what you need. Depending on how many matches you are using you might need a Regex, but thats something separate. I appreciate you 'have xmpie' - but there are lots of different versions, some with uPlan, some without. You have given no specifics about what you have (or dont have for that matter) which is why i suggest getting in touch with the vendor you purchased xmpie from, as its more than likely you paid for an element of support at the time of purchase.

            Anyway, thats just my two pence. I strongly recommend joining the interest group however, its a valuable resource.

            Regards

            Tim Perrett
            print application architect

            Comment


            • #7
              Re: Logic Symbols

              Thank you for the helpful advice! Sorry I was so lax in my detail this is my first time using a forum like this.

              This is what ended up working:
              if(Substring(|->[Reference_Number],0,2)= "BD")
              {
              "Asia.jpg"
              }
              else if(Substring(|->[Reference_Number],0,2)= "BO")
              {
              "South America.jpg"
              }
              else if(Substring(|->[Reference_Number],0,2)= "DR")
              {
              "Central America.jpg"
              }
              else if(Substring(|->[Reference_Number],0,2)= "UG")
              {
              "Africa.jpg"
              }
              else
              {
              "Africa.jpg"
              }

              Comment


              • #8
                You should probably try SWITCH
                i.e.
                SWITCH(Substring(|->[Reference_Number],0,2)= "BO")

                case "BD":
                "Asia.jpg"
                case "BO":
                "South America.jpg"

                (not sure of exact syntax on that statement, but it should be close)

                Comment

                4OverStandard FinishingDuploSmartsoft (Presswise)AleyantCanonKBA
                Standard FinishingDuploAleyantCanonGraph Expo4 PeesLabelexpoKBAKBA4OverSmartsoft (Presswise)

                What's Going On

                Collapse

                There are currently 3048 users online. 47 members and 3001 guests.

                Most users ever online was 6,597 at 10:25 AM on 04-20-2018.

                Working...
                X