You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.
Discussion posts and replies are publicly visible
I would like to know the use case here. Assuming b will be always greater than a & we need to exclude a & b, here's one solution
a!localVariables( local!a: 10, local!b: 20, enumerate(local!b - local!a - 1) + local!a + 1 )
Thank you so much. There is one more question if you can help.
There are 2 value dynamically given . you need to multiply the both value without using *. For example if two value is 2,3 then either you cab add 2+2+2 or 3+3 .
This is one way without using Appian OOTB function-
a!localVariables( local!a: 15, local!b: 15, sum( a!forEach( items: enumerate(local!a) + 1, expression: local!b ) ) )
just curious, whats the use case of that? Sounds a bit like mathematical games -> check out the product() function product(3, 2)
docs.appian.com/.../fnc_mathematical_product.html