Skip to content

Var1 = A unless Var2 is defined

edited August 2014 in GSA Search Engine Ranker
Hello

In Engine file, any way to se0t: Parameter1 = ValueA UNLESS Parameter2 exist ?

In Ruby, it would be:
Parameter1 = ValueA unless Parameter2?

Maybe the "condition" can help ?


Comments

  • SvenSven www.GSA-Online.de

    add fixed data=Parameter1 = ValueA

    add fixed data condition=Parameter2

  • Thank you Sven,

    So, can you please confirm that, IF parameter2 exist, then, Parameter1 will NOT be set ?
  • SvenSven www.GSA-Online.de
    oh wait, you have to negate it then.
    add fixed condition=!parameter2
  • ok, this is what is was guessing.
    Thank you, it make sens. :)
Sign In or Register to comment.