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

Feature requests for future versions can be voiced here
Post Reply
Bugala
Posts: 1390
Joined: Sun Feb 14, 2010 7:11 pm

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

Post 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.
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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...
Bugala
Posts: 1390
Joined: Sun Feb 14, 2010 7:11 pm

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

Post 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.
Post Reply