Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed on Create Custom Function (FOR LOOP) #118

Open
dammianhr opened this issue Apr 28, 2023 · 0 comments
Open

Help needed on Create Custom Function (FOR LOOP) #118

dammianhr opened this issue Apr 28, 2023 · 0 comments

Comments

@dammianhr
Copy link

dammianhr commented Apr 28, 2023

Hi!
I need some help with this.
I need to create a function that allows to create an array in a controlled way. For example:
FOR(8, IF(I==0, VAR1, 0))
I = index loop

where the result is:

VAR1 = 100
[100, 0, 0, 0, 0, 0, 0, 0]

VAR1 can be an expression

Python 3.11
formulas == 1.2.6

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant