Use FOR loop. uiIndex := 0; FOR i := LOWER_BOUND(asArrayOfStrings[i], 1) TO UPPER_BOUND(asArrayOfStrings[i], 1) DO IF asArrayOfStrings[i] <> '' THEN uiIndex := uiIndex + 1; END_IF END_FOR
Hi. Check type ANY: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_datatype_any.html
Are you sure that you need exactly this command? (with note "You would normally select this command after executing the command Reorder list and clear gaps" Maybe the "common" way will work for you... https://content.helpme-codesys.com/en/libs/Recipe%20Management/Current/pou-RecipeManCommands/LoadFromAndWriteRecipe.html
Update links https://content.helpme-codesys.com/en/libs/Recipe%20Management/Current/pou-RecipeManCommands/ReadAndSaveRecipe.html Example: https://forge.codesys.com/prj/codesys-example/recipe-manageme/home/Home/
https://faq.codesys.com/display/CDSFAQ/Frame+window+cannot+be+created
Please publish code snippet for this case.
Thank you, with your project and tips I got the desired result.
timvh, greats thanks for your info and project. One important question - should I see my "Login Visualization" instead of "DefaultLogin" from your first screenshot, right?