Hey @Rrrr ,
Wel, yeah, not specificly, but generally, BLL supports Arrays.
because i don’t exactly know how users will want to use this, i haven’t implemented special array functions or anything, but you can do that yourself quite easily.
For instance, here a small array functionality.
- Create a BLL function (in the BLL settings → Functions called
pushAsString
and place this in it’s body:
function(arr, value) {
arr.push(value);
return JSON.stringify(arr);
}
- Add a flowcard Set variable to text: Set ArrayTest to
[]
- Add a flowcard Set variable to bll expression: Set ArrayTest to
pushAsString([[ArrayTest-token]], 1);
- Add a flowcard Set variable to bll expression: Set ArrayTest to
pushAsString([[ArrayTest-token]], 2);
- Add a flowcard Execute BLL expression as Tag:
_sum([[ArrayTest-token]])
This wil result in a token with 3
.
Flow:
TEF:
[tef:FLOWS:"H4sIAAAAAAACA+2UTY+bMBCG/0rkU1fCkcE2xvS03eveuqdGERqbIUEiBIFJE6X57x3IdtVIkVartrde+JiZd2beB+EzCyw/sxbDsuYlHpYOQ8C+2W9qPyXCqcNheoD2xPIVVcIOWc4e+x5OLzgEdllfItZS6MusXDxP0sVz7XroT+xCSZiFNZVIgVnltOLe0kXZ0nOHWnKJsbHOSClAs2u3qfdinkKBeRXtwFaOJKbyFVeQGm59mXENxscSpMpKOdUdWS4iRtumdNtTq+1+h6ccui6/bzOad3unKh8wFEPo63ZTHKCvwTVISqLHwId637LZ6Jm9JfM7sKIZKIWunei9xMH3dTd3yNlTjxBw0eL3xWsF8TtAM06a1XrGqTKRlR6AjMeCK5Vk3GqBvNI2iWWZJNZVNxzi7K+CwCP6MWDhmgKPXY/DcHX/YRS/fN2h0uNuf6BIBc2AEWtgCE9baDdYUlUiEsmF5Il+iVWubS7NMk6zb9PYMZDR0I9IoH7bLmfdOGwfh6/zgE+r1Tsmf7ztuV5Hi/jh80y+sj7OMAHuTKq5MpXkTtqKC6UqLXUJiXE35KX4T/6PyCev5H0ijU0N8Co29O+7FLiFUtCHEJlAUaZK4g15lf578kWAzV36N/aL5TDuPub7gTxf6Fz9CWI6jV+dBQAA":/tef]