CODESYS - How to pass an array to F_ FB_ or M_ without knowing its size in the function itself
Автор: AT&U
Загружено: 2021-10-28
Просмотров: 4408
2 Ways how to pass an array to F_ FB_ or M_ without knowing its size in the F_ FB_ or M_
The bodies of the F_ are dummies and just fill the Arrays with the elements number.
I will create a video in which I'll pass an Array of Strings (List with program names) and create a sort function using the bubble sort method. A second method will filter the program names.
Tips:
Prefer the [*] operator over a pointer.
LOWER_BOUND = x & UPPER_BOUND = y in ARRAY [x...y] of Data Type.
You can pass a more dimensional array using the [*] operator
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: