Mudanças Recentes - Buscar:

PmWiki (deutsch) für die Liste aller Seiten


Englisch:

Cálculos/ Finanças

Outros / Web

Magento

Importação

Ferramentas

Automação

Redes

NFe

VOIP?

FreeSwitch

Backup/NextCloud

Servidores/Ferramentas

Mikrotik

PmWiki

pmwiki.org

edit SideBar

CondExpr

für die Liste aller Seiten

(fortgeschrittene) Autoren, Entwickler

CondExpr()...

ist ein Ausdruck-Parser für boolsche Ausdrücke. Sie benutzen ihn in dem "expr"-Markup, etwa in:

   (:if expr equal {$var1} {$var2} xor equal {$var3} {$var4}) 

   (:if expr ! equal 'carrot' {$var4}) 

Mögliche Operatoren sind:

  • and
  • or
  • xor
  • &&
  • ||
  • !

Ich denke, Sie können auch geklammerte Ausdrücke benutzen wie :

(: if expr ({$bool1} or {$bool2}) and ({$bool3} or {$bool4}) :)

Beispiele zur Benutzung:

für die Liste aller Seiten


Übersetzung von PmWiki.CondExpr,   Originalseite auf PmWikiDe.CondExpr   —   Links de retorno

Zuletzt geändert:   PmWikiDe.CondExpram 12.07.2017
 PmWiki.CondExpram 04.07.2016
Editar - Histórico - Imprimir - Mudanças Recentes - Buscar
Pagina modificada em 12 de julho de 2017, às 09h23