 PlantUML 1.2023.11 Guía de Referencia del Lenguaje22.7 Links You can also use URL and links. Simple links are define using two square brackets (or three square brackets for field or method on class diagram). Example: • [[http://plantuml.com]] • [[http://plantuml Although this is not mandatory, we highly suggest that variable names start with a $. There are three types of data: • Integer number (int); • String (str) - these must be surrounded by single quote return $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Guía de Referencia del Lenguaje PlantUML (1.2023.11) 482 / 530 25.8 Unquoted0 码力 | 531 页 | 7.53 MB | 1 年前3 PlantUML 1.2023.11 Guía de Referencia del Lenguaje22.7 Links You can also use URL and links. Simple links are define using two square brackets (or three square brackets for field or method on class diagram). Example: • [[http://plantuml.com]] • [[http://plantuml Although this is not mandatory, we highly suggest that variable names start with a $. There are three types of data: • Integer number (int); • String (str) - these must be surrounded by single quote return $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Guía de Referencia del Lenguaje PlantUML (1.2023.11) 482 / 530 25.8 Unquoted0 码力 | 531 页 | 7.53 MB | 1 年前3
 PlantUML 1.2019.6 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml 19.7 Unquoted function By default, you have to put quotes when you call a function0 码力 | 172 页 | 1.91 MB | 1 年前3 PlantUML 1.2019.6 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml 19.7 Unquoted function By default, you have to put quotes when you call a function0 码力 | 172 页 | 1.91 MB | 1 年前3
 PlantUML 1.2019.9 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 172 页 | 1.93 MB | 1 年前3 PlantUML 1.2019.9 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 172 页 | 1.93 MB | 1 年前3
 PlantUML 1.2020.23 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 305 页 | 3.11 MB | 1 年前3 PlantUML 1.2020.23 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 305 页 | 3.11 MB | 1 年前3
 PlantUML 1.2020.22 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 293 页 | 3.02 MB | 1 年前3 PlantUML 1.2020.22 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. @startuml0 码力 | 293 页 | 3.02 MB | 1 年前3
 PlantUML 1.2021.2 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 389 页 | 4.12 MB | 1 年前3 PlantUML 1.2021.2 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 389 页 | 4.12 MB | 1 年前3
 PlantUML 1.2021.1 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 384 页 | 4.07 MB | 1 年前3 PlantUML 1.2021.1 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 384 页 | 4.07 MB | 1 年前3
 PlantUML 1.2021.3 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 407 页 | 4.28 MB | 1 年前3 PlantUML 1.2021.3 Guía de Referencia del Lenguajereturn $value + $step !endfunction Alice -> Bob : Just one more $inc(3) Alice -> Bob : Add two to three : $inc(3, 2) @enduml Only arguments at the end of the parameter list can have default values. Guía0 码力 | 407 页 | 4.28 MB | 1 年前3
 Comprehensive Rust(Español) 202412"); while let Some(c) = name.pop() { println!("character: {c}"); } // (There are more efficient ways to reverse a string!) } Aquí, String::pop devolverá Some(c) hasta que la cadena este vacía, cuando0 码力 | 389 页 | 1.04 MB | 10 月前3 Comprehensive Rust(Español) 202412"); while let Some(c) = name.pop() { println!("character: {c}"); } // (There are more efficient ways to reverse a string!) } Aquí, String::pop devolverá Some(c) hasta que la cadena este vacía, cuando0 码力 | 389 页 | 1.04 MB | 10 月前3
共 9 条
- 1













