Skip to content

Commit 8128c85

Browse files
author
user0
committed
Update README.md
1 parent 83cdee6 commit 8128c85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
All datastructures that are directly below a module within the a2l data structure hierarchy are accessible through maps by their identifiers.
2121

2222
To access System Constants:
23-
sc, exists := cd.a2l.Project.Module[indexOfModuleInProject].SystemConstants["NameOfSystemConstant"]
23+
sc, exists := cd.a2l.Project.Modules[indexOfModuleInProject].SystemConstants["NameOfSystemConstant"]
2424

2525
To access Characteristics:
26-
c, exists := cd.a2l.Project.Module[indexOfModuleInProject].Characteristics["NameOfCharacteristic"]
26+
c, exists := cd.a2l.Project.Modules[indexOfModuleInProject].Characteristics["NameOfCharacteristic"]
2727

2828
and so on.
2929

0 commit comments

Comments
 (0)