Pages:
Actions
  • #1 by londolozi on 02 Oct 2015
  • I struggle with the inconsistent way we need to handle text in the various modules.
    Please correct me where needed.

    Trigger condittions.
    Using one word, no "" is need.
    Example: Market contains World

    Using two words " " is needed
    Example: Market contain "World Cup"

    Market Locator file list:
    Using one word, no "" is need.
    Example: Market contains World

    Using two words, no "" is needed. Same as for one word.
    Example: Markets name is in the file
    Text file contains: World Cup 2015

    Market Locator raw conditions (not using a text file):
    Using one word, no "" is need.
    Example: Market contains World

    Using two or more words " " is needed
    Example: Market contains "World Cup"

    Thank you
  • #2 by Oxa (WellDoneSoft) on 04 Oct 2015
  • I have checked the cases you listed, please see below:

    Quote
    Trigger condittions.

    Better to use double quotes at all times when you're working with text, such as selections' or markets' names, even if there are no spaces in between the words in the text pattern. Example: 

    Market's Name contains "World"

    Quote
    Market Locator file list:

    Better to use double quotes at all times.

    Quote
    Market Locator raw conditions (not using a text file):

    Double quotes are not needed - at the moment.

    This is where it is different from the above, and I agree it is confusing. I will align this syntax with the rest of the program, so in the next program's version it'll be safe and recommended to use quotes throughout all conditions and trigger expressions.
Pages:
Actions