Equality


An example of an "equal" condition:


(:if equal {$Group} "Test":)
* Group is Test
(:if !equal {$Group} "Test":)
* Group is not Test
(:if !equal {$Group} "PmWiki":)
* Group is not PmWiki
(:if:)

  • Group is Test
  • Group is not PmWiki
 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML end
 6: 00.22 00.22 MarkupToHTML begin
 7: 00.23 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.23 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.24 00.24 MarkupToHTML end
10: 00.24 00.24 MarkupToHTML begin
11: 00.24 00.24 MarkupToHTML end
12: 00.24 00.24 now
Peak memory: 3,756,104 bytes