Page 1 of 1

Way to run command on Args Function Name(sort(mytable))

Posted: Sun Jun 15, 2025 4:24 pm
by Bugala
I wonder would it be possible to add possibility to affect Args of a Function right at beginning, since sometimes this could be useful from codes readability point of view.

As example:

Code: Select all

Function CompareTwoStrings(A, B)
A = LowerStr(A)
B = LowerStr(B)

If A = B then Return(True)
Return(False)
EndFunction
To make this more readable, would be if it could be done instead:

Code: Select all

Function CompareTwoStrings(Lowerstr(A), Lowerstr(B))
If A=B then Return(True)
Return(False)
EndFunction
This could also be used for something like using Sort(TableA) at beginning of a function.

Any Chance something like this could be done? Not that big a deal, but I think it would make the code slightly more readable, and faster to find stuff.

Re: Way to run command on Args Function Name(sort(mytable))

Posted: Sun Jun 22, 2025 5:23 pm
by airsoftsoftwair
Sorry, won't come, everything related to the VM is highly complicated to implement and so is very unlikely to come ;)

Btw, you're always posting in the "Designer" section of the wishlist...

Re: Way to run command on Args Function Name(sort(mytable))

Posted: Sun Jun 22, 2025 10:43 pm
by Bugala
airsoftsoftwair wrote: Sun Jun 22, 2025 5:23 pm Btw, you're always posting in the "Designer" section of the wishlist...
Thanks for pointing out, Didnt realise I did that.