Skip to content

Commit 36a29a0

Browse files
author
JeanMarc van Leerdam
committed
Use %true()/%false() macros instead of (faulty) literal true/false
1 parent 0c64f80 commit 36a29a0

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

dist/plantuml-stdlib/stdlib/archimate/_examples_/Archimate-Elements.wsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@startuml
22

3-
!global $ARCH_LOCAL = true
4-
!global $ARCH_DEBUG = true
3+
!global $ARCH_LOCAL = %true()
4+
!global $ARCH_DEBUG = %true()
55
!global $ARCH_MINIMUM_WIDTH = 120
66

7-
!if ($ARCH_LOCAL == false)
7+
!if ($ARCH_LOCAL == %false())
88
!include <archimate/Archimate>
99
'!theme archimate-alternate from <archimate/themes>
1010
'!theme archimate-handwriting from <archimate/themes>

samples/Archimate-InternetBrowser.wsd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@startuml Internet Browser Sample
22

3-
!global $ARCH_LOCAL = true
4-
!global $ARCH_DEBUG = false
3+
!global $ARCH_LOCAL = %true()
4+
!global $ARCH_DEBUG = %true()
55

6-
!if ($ARCH_LOCAL == false)
6+
!if ($ARCH_LOCAL == %false())
77
!include <archimate/Archimate>
88
'!theme archimate-alternate from <archimate/themes>
99
'!theme archimate-handwriting from <archimate/themes>
@@ -27,7 +27,7 @@ title Archimate Sample - Internet Browser
2727
'LAYOUT_LEFT_RIGHT()
2828
'LAYOUT_TOP_DOWN()
2929

30-
Business_Object(businessObject, "A Business Object")
30+
Business_Object(businessObject, "A Busines Object")
3131
Business_Process(someBusinessProcess,"Some Business Process")
3232
Business_Service(itSupportService, "IT Support for Business (Application Service)")
3333

samples/Archimate-Overview.wsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@startuml Archimate Overview
22

3-
!global $ARCH_LOCAL = false
4-
!global $ARCH_DEBUG = false
3+
!global $ARCH_LOCAL = %false()
4+
!global $ARCH_DEBUG = %false()
55

6-
!if ($ARCH_LOCAL == false)
6+
!if ($ARCH_LOCAL == %false())
77
!include <archimate/Archimate>
88
'!theme archimate-alternate from <archimate/themes>
99
'!theme archimate-handwriting from <archimate/themes>

samples/Archimate-Relationships.wsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@startuml
22

3-
!global $ARCH_LOCAL = true
4-
!global $ARCH_DEBUG = false
3+
!global $ARCH_LOCAL = %true()
4+
!global $ARCH_DEBUG = %false()
55

6-
!if ($ARCH_LOCAL == false)
6+
!if ($ARCH_LOCAL == %false())
77
!include <archimate/Archimate>
88
'!theme archimate-alternate from <archimate/themes>
99
'!theme archimate-handwriting from <archimate/themes>

samples/Archimate-Sample01.wsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@startuml
22

3-
!global $ARCH_LOCAL = false
4-
!global $ARCH_DEBUG = false
3+
!global $ARCH_LOCAL = %false()
4+
!global $ARCH_DEBUG = %false()
55

6-
!if ($ARCH_LOCAL == false)
6+
!if ($ARCH_LOCAL == %false())
77
!include <archimate/Archimate>
88
'!theme archimate-alternate from <archimate/themes>
99
'!theme archimate-handwriting from <archimate/themes>

0 commit comments

Comments
 (0)