Jump to content
Oliver Hope

[YLD-35952] Default variable types/enums for functions.

Recommended Posts

This has already been brought up by @Cernu I will link below. But I want to add a bit more detail and a suggestion to how it could work.

I propose adding an extra row below the parameters in the function declaration with empty slots corresponding to each parameter that allows you to put in variable types or enums for example an empty string or the image enum.
When calling a function these blocks will already be in the spaces for parameters. This can also serve the double purpose of setting a default value for parameters.

Cernu's posts:

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×