Skip to content

Using Parameters arrays of variable length Topics: #programming-pattern #parameters #sample #sick-appspace

License

Notifications You must be signed in to change notification settings

sick-appspace-samples/FlexibleParametersArray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FlexibleParametersArray

Using Parameters arrays of variable length

Description

This sample shows how to proceed with usage of Parameters arrays of unfixed length in lua script. It uses the Parameters to create a definition of new array, which will be then filled by the script. The usage of Parameters.Node CROWN allows for extending the array, which is not doable the way the Parameters array work - one can't use Parameter.set('myArray[x]') to add new elements to the flexible array. The example contains three functions that can be directly used in any context related to handling the arrays from Parameters.

HowToRun

To demo this sample, it must be loaded to any device or the emulator. The output of the consumer function can be seen at the console.

Topics

programming-pattern, parameters, sample, sick-appspace

About

Using Parameters arrays of variable length Topics: #programming-pattern #parameters #sample #sick-appspace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages