2 New Features: Spell Checker & a NOT parameter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Marker0077
    Forum Member
    • Sep 2002
    • 39

    2 New Features: Spell Checker & a NOT parameter

    #1) A spell checker for checking all those dialog & other window types.

    #2) a NOT parameter. The NOT parameter would be for like, "IF %Variable% NOT = THIS". This would check to make sure that the %Variable% is not equal to "THIS". Of course, there are ways of making it so that you can find this information out anyways, but this would be a time & effort saver.
  • Darryl
    Indigo Rose Staff Member
    • Jul 2001
    • 1908

    #2
    Re: 2 New Features: Spell Checker & a NOT parameter

    For your #2, there is currently an operator to check if one operand is not equal to the other operand. You can either use != or <> to accomplish that condition.

    Comment

    • Lorne
      Indigo Rose Staff Member
      • Feb 2001
      • 2729

      #3
      Re: 2 New Features: Spell Checker &amp; a NOT parameter

      There's also a unary not operator, so if you want to test if something is false, you can use:

      <pre>if( !%variable% )
      // only do this if %variable% is false
      end if</pre>
      --[[ Indigo Rose Software Developer ]]

      Comment

      • Marker0077
        Forum Member
        • Sep 2002
        • 39

        #4
        Re: 2 New Features: Spell Checker &amp; a NOT parameter

        Well, the "NOT" operator is much more user friendly IMO. Anyways, good to know there is an existing alternative. Better than the way I have been doing it I suppose (2nd variable that sets a true or false value).

        Comment

        • Marker0077
          Forum Member
          • Sep 2002
          • 39

          #5
          Re: 2 New Features: Spell Checker &amp; a NOT parameter

          I tried doing

          if (!%variable% = TRUE)
          display dialog
          end

          &amp; it didn't work. Any other ideas?

          Comment

          • Marker0077
            Forum Member
            • Sep 2002
            • 39

            #6
            Re: 2 New Features: Spell Checker &amp; a NOT parameter

            nevermind, I got it working. thanks anyways.

            Comment

            Working...
            X