Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...

IF{"condition" ...} -- simple conditionals

  • Evaluate a condition and show one text or another based on the result. See details in IfStatements
  • Syntax: %IF{"CONDITION" then="THEN" else="ELSE"}% shows "THEN" if "CONDITION" evaluates to TRUE, otherwise "ELSE" will be shown
  • Example: %IF{"defined FUNFACTOR" then="FUNFACTOR is defined" else=" is not defined"}% renders as ==
  • Related: $IF() of SpreadSheetPlugin

r1 - 27 Mar 2005 - 13:14:15 - TWikiContributor
WikiRing: Professional Wiki Innovation and SupportWikiRing.com
This site is powered by Foswiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding IntroEngineering.org Wiki? Send feedback
Syndicate this site RSSATOM