Is there a plan to add a feature like lambdas? It would be nice, as an example, to write something like this:
dim as sub(byref msg as string) msg = (byref m as string)
MessageBox(msg)
endsub
msg "hello world"
Or like this:
dim as function() as uinteger foo = ()
return 10
end function
dim as uinteger x= foo()
Don't take this seriously, it's just a simplified example of what it might look like
Is there a plan to add a feature like lambdas? It would be nice, as an example, to write something like this:
Or like this:
Don't take this seriously, it's just a simplified example of what it might look like