[V2] Support fn(arr*, var)

Propose new features and changes
crocodile
Posts: 98
Joined: 28 Dec 2020, 13:41

[V2] Support fn(arr*, var)

Post by crocodile » 09 Feb 2023, 00:50

Just like this

Code: Select all

ps:=[1,2,3]
MsgBox test(ps*, 4)

test(a,b,c,d) => 0
Last edited by crocodile on 11 Feb 2023, 04:54, edited 1 time in total.



ntepa
Posts: 429
Joined: 19 Oct 2022, 20:52

Re: [V2] In the tank fn(arr*, var)

Post by ntepa » 09 Feb 2023, 23:14

workaround:

Code: Select all

ps:=[1,2,3]
MsgBox test.Bind(ps*)(4)

test(a,b,c,d) => a ", " b ", " c ", " d

crocodile
Posts: 98
Joined: 28 Dec 2020, 13:41

Re: [V2] Support fn(arr*, var)

Post by crocodile » 11 Feb 2023, 04:57

@ntepa
Yes, there are many solutions. But none of them are efficient.

Post Reply

Return to “Wish List”