PlantUML 1.2019.6 Справочное руководство по языкуPlantUML (1.2019.6) 147 / 172 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function is exited. 19.5 Return function A return variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 173 页 | 1.95 MB | 1 年前3
PlantUML 1.2019.9 Справочное руководство по языкуPlantUML (1.2019.9) 147 / 172 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function A return function variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 173 页 | 1.97 MB | 1 年前3
Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.9)Guide (1.2019.9) 149 / 174 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function A return function variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 175 页 | 1.95 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)语言参考指引 (1.2019.6) 148 / 173 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function is exited. 19.5 Return function A return variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 174 页 | 1.98 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)语言参考指引 (1.2019.9) 148 / 173 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function A return function variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 174 页 | 2.00 MB | 1 年前3
PlantUML 1.2019.6 SprachreferenzSprachreferenz (1.2019.6) 147 / 172 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function is exited. 19.5 Return function A return variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 173 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.9 SprachreferenzSprachreferenz (1.2019.9) 147 / 172 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function A return function variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 173 页 | 1.93 MB | 1 年前3
PlantUML 1.2019.6 Language Reference GuideGuide (1.2019.6) 148 / 173 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function is exited. 19.5 Return function A return variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 174 页 | 1.92 MB | 1 年前3
PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2019.9)언어참조가이드 (1.2019.9) 146 / 171 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function A return function variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 172 页 | 1.97 MB | 1 年前3
PlantUML 1.2019.6 Guía de Referencia del LenguajePlantUML (1.2019.6) 146 / 171 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function is exited. 19.5 Return function A return variable are local by default (they are destroyed when the function is exited). However, you can access to global variables from function. However, you can use the local keyword to create a local variable variable if ever a global variable exists with the same name. @startuml !function $dummy() !local $ijk = "local" Alice -> Bob : $ijk !endfunction !global $ijk = "foo" Alice -> Bob : $ijk $dummy() Alice -> Bob0 码力 | 172 页 | 1.91 MB | 1 年前3
共 96 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













