Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Sep 12, 2024
1 parent b423427 commit 52e1ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugo/content/manual/PLC_cfg/function_libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ function <name>() {
```

* Several functions can be defined in the same file.
* For syntax of the "code body", check [plc syntax](syntax) and the exprtk website.
* For syntax of the "code body", check [plc syntax](../syntax) and the exprtk website.
* The parameters aswell as the return value must be scalars, however, local vectors can be defined and used in calculations (initiations of vector can be done with MACROS, constants or parameters).
* "#" as a first char in a line is considered a comment (the line will be removed before compile).
* The lib file will be parsed through MSI allowing macro expansion, "include" and "subsitute" commands. For more info check [best practice](best-practice) and msi documentation/help.
* The lib file will be parsed through MSI allowing macro expansion, "include" and "subsitute" commands. For more info check [best practice](../best-practice) and msi documentation/help.

### can be used in a functions
1. The parameters
Expand Down

0 comments on commit 52e1ba4

Please sign in to comment.