Forum Discussion

jorgesimoes1983's avatar
jorgesimoes1983
Regular Contributor
10 years ago

Specify operation parameters (explicit types)

Hi!



Is it possible to specify explicit operation parameter types? Look at the attachment :)



I'd like to have a mode, or type:string, selected by default.



And what about thins like this:



function some_function(int number, string name)

{

...

}



I know we can't do it in javascript, although we can use typeof... is any other way besides doing conversions?



Thanks!
No RepliesBe the first to reply