Comprehensive Rust(Español) 20241210.5 const . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.6 Aliases de tipo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.7 Ejercicio: eventos con nombre 10 minutos Estructuras de tuplas 10 minutos Enumeraciones 5 minutos Estático 5 minutos Aliases de tipo 2 minutos Ejercicio: eventos de ascensor 15 minutos 10.1 Estructuras con nombre Al igual necesite una constante evaluada en runtime, pero es útil y más seguro que usar una estática. 10.6 Aliases de tipo Un alias de tipo crea un nombre para otro tipo. Ambos tipos se pueden utilizar indistintamente0 码力 | 389 页 | 1.04 MB | 11 月前3
PlantUML 1.2019.9 Guía de Referencia del Lenguaje@startuml !unquoted function SALT($x) "{{ salt %invoke_void_func("_"+$x) }}" as $x !endfunction !function _choose() {+ an example choose one option ()one ()two [ok] } !endfunction !function _wait() {+ please wait operation in progress <&clock> [cancel] } !endfunction !function _success() {+ success congratulations! [ok] } !endfunction !function _error() {+ error failed, sorry [ok] } !endfunction (*) and !definelong anymore. Use !function and variable definition instead. !define should be replaced by return function and !definelong should be replaced by void function. • !include now allows multiple0 码力 | 172 页 | 1.93 MB | 1 年前3
PlantUML 1.2019.6 Guía de Referencia del Lenguaje@startuml !unquoted function SALT($x) "{{ salt %invoke_void_func("_"+$x) }}" as $x !endfunction !function _choose() {+ an example choose one option ()one ()two [ok] } !endfunction !function _wait() {+ please wait operation in progress <&clock> [cancel] } !endfunction !function _success() {+ success congratulations! [ok] } !endfunction !function _error() {+ error failed, sorry [ok] } !endfunction (*) finally removed in some long term future). • You should not use !define and !definelong anymore. Use !function and variable definition instead • !include allows now multiple inclusions : you don't have to use0 码力 | 172 页 | 1.91 MB | 1 年前3
PlantUML 1.2020.23 Guía de Referencia del Lenguajeshould not use !define and !definelong anymore. Use !function, !procedure or variable defi- nition instead. – !define should be replaced by return !function – !definelong should be replaced by !procedure URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have String (str) - these must be surrounded by single quote or double quote. Variables created outside function are global, that is you can access them from everywhere (including from func- tions). You can emphasize0 码力 | 305 页 | 3.11 MB | 1 年前3
PlantUML 1.2020.22 Guía de Referencia del Lenguajeshould not use !define and !definelong anymore. Use !function, !procedure or variable defi- nition instead. – !define should be replaced by return !function – !definelong should be replaced by !procedure URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have String (str) - these must be surrounded by single quote or double quote. Variables created outside function are global, that is you can access them from everywhere (including from func- tions). You can emphasize0 码力 | 293 页 | 3.02 MB | 1 年前3
PlantUML 1.2021.2 Guía de Referencia del Lenguajeshould not use !define and !definelong anymore. Use !function, !procedure or variable definition instead. – !define should be replaced by return !function – !definelong should be replaced by !procedure. URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have single quote or double quote. Variables created outside function are global, that is you can access them from everywhere (including from functions). You can emphasize this by using the optional global keyword0 码力 | 389 页 | 4.12 MB | 1 年前3
PlantUML 1.2021.1 Guía de Referencia del Lenguajeshould not use !define and !definelong anymore. Use !function, !procedure or variable definition instead. – !define should be replaced by return !function – !definelong should be replaced by !procedure. URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have single quote or double quote. Variables created outside function are global, that is you can access them from everywhere (including from functions). You can emphasize this by using the optional global keyword0 码力 | 384 页 | 4.07 MB | 1 年前3
PlantUML 1.2021.3 Guía de Referencia del Lenguajeshould not use !define and !definelong anymore. Use !function, !procedure or variable definition instead. – !define should be replaced by return !function – !definelong should be replaced by !procedure. URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have single quote or double quote. Variables created outside function are global, that is you can access them from everywhere (including from functions). You can emphasize this by using the optional global keyword0 码力 | 407 页 | 4.28 MB | 1 年前3
PlantUML 1.2023.11 Guía de Referencia del Lenguajestart a project, a task or a milestone a number of days before or after today, using the builtin functions %now and %date: @startgantt title Today is %date("YYYY-MM-dd") !$now = %now() !$past = %date("YYYY-MM-dd" on Preprocessing-JSON page) Variables created outside function are global, that is you can access them from everywhere (including from functions). You can emphasize this by using the optional global keyword Boolean builtin functions [%false(), %true(), %not()] For convenience, you can use those boolean builtin functions: • %false() • %true() • %not( ) [See also Builtin functions] 25.3 Conditions 0 码力 | 531 页 | 7.53 MB | 1 年前3
Guía de referencia de Debian v2.124smarthost; received via SMTP or fetchmail” seleccionada. Se trata de MTA ligeros que respetan ”/etc/aliases”. sugerencia Configurar exim4 para enviar el correo de Internet a través de múltiples smarthosts de salida propio de postfix(1), se activa después de la ejecución de la orden postmap(1). /etc/aliases alias del nombre de la cuenta para el correo entrante general, activado después de la ejecución archivo.c diff -u archivo.c{.orig,} mkdir /foobar /foobaz mkdir /foo{bar,baz} funcname() { …} function funcname() { …} octal format: «\377» formato hexadecimal: «\xff» Cuadro 12.1: Relación de particularidades0 码力 | 285 页 | 1.43 MB | 1 年前3
共 17 条
- 1
- 2













