PlantUML 1.2020.23 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without Default argument value In both procedure and return functions, you can define default values for arguments. Справочное руководство по языку PlantUML (1.2020.23) 274 / 305 20.9 Unquoted procedure or function 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. @startuml !procedure defaulttest($x,0 码力 | 306 页 | 3.12 MB | 1 年前3PlantUML 1.2020.22 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without Default argument value In both procedure and return functions, you can define default values for arguments. Справочное руководство по языку PlantUML (1.2020.22) 262 / 293 20.9 Unquoted procedure or function 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. @startuml !procedure defaulttest($x,0 码力 | 294 页 | 3.03 MB | 1 年前3PlantUML 1.2021.2 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without Default argument value In both procedure and return functions, you can define default values for arguments. @startuml !function $inc($value, $step=1) !return $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. Справочное руководство по языку PlantUML (1.2021.2)0 码力 | 388 页 | 4.18 MB | 1 年前3PlantUML 1.2021.1 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without Default argument value In both procedure and return functions, you can define default values for arguments. @startuml !function $inc($value, $step=1) !return $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. Справочное руководство по языку PlantUML (1.2021.1)0 码力 | 383 页 | 4.13 MB | 1 年前3PlantUML 1.2021.3 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without Default argument value In both procedure and return functions, you can define default values for arguments. @startuml !function $inc($value, $step=1) !return $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. Справочное руководство по языку PlantUML (1.2021.2)0 码力 | 406 页 | 4.33 MB | 1 年前3PlantUML 1.2023.11 Справочное руководство по языку
Default argument value In both procedure and return functions, you can define default values for arguments. @startuml !function $inc($value, $step=1) !return $value + $step !endfunction Alice -> Bob : PlantUML (1.2023.11) 505 / 553 25.8 Unquoted procedure or function [!unquoted] 25 PREPROCESSING Only arguments at the end of the parameter list can have default values. @startuml !procedure defaulttest($x, the unquoted keyword to indicate that a function or a procedure does not require quotes for its arguments. @startuml !unquoted function id($text1, $text2="FOO") !return $text1 + $text2 alice -> bob :0 码力 | 554 页 | 7.96 MB | 1 年前3PlantUML 1.2019.9 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() because my_own_definelong without 6 Default argument value In both return and void functions, you can define default values for arguments. @startuml !function $inc($value, $step=1) !return $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. @startuml !function defaulttest($x, $y="DefaultY"0 码力 | 173 页 | 1.97 MB | 1 年前3firebird language reference 30 rus
............................................................................ 664 RDB$FUNCTION_ARGUMENTS .......................................................................................... 664 complex Выражение слишком сложное 54011 Too many columns Слишком много столбцов 54023 Too many arguments Слишком много аргументов SQLCLASS HY (CLI-specific Condition) Класс ошибок HY (условия CLI- specific) @2. Опция не поддерживается в ODS старше чем @1.@2. -804 335544380 wronumarg Wrong number of arguments on call. Неверное число аргументов в вызове. -804 335544583 dsql_sqlda_err SQLDA missing or0 码力 | 719 页 | 3.98 MB | 1 年前3PlantUML 1.2019.6 Справочное руководство по языку
replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. That is you have to use my_own_definelong() because my_own_definelong possible to use the unquoted keyword to indicate that a function does not require quotes for its arguments. @startuml !unquoted function id($text1, $text2="FOO") return $text1 + $text2 Справочное руководство the length of a String %strlen("foo") 3 in the example %substr Extract a substring. Takes 2 or 3 arguments| %substr("abcdef", 3, 2) "de" in the example %strpos Search a substring in a string %strpos("abcdef"0 码力 | 173 页 | 1.95 MB | 1 年前3PlantUML 1.2019.3 Справочное руководство по языку
definition You can also define macro with arguments. @startuml !define module(x) component x <> module(ABC) module(XYZ) @enduml Macro can have several arguments. @startuml !define send(a,b,c) a->b 0 码力 | 159 页 | 1.76 MB | 1 年前3
共 13 条
- 1
- 2