Main forum > Bug Reports
PROTOTYPE Improvement
MrTAToad:
Would be nice if PROTOTYPE could return a type as a return parameter, something like :
PROTOTYPE _ONPROCESS AS tResult:speed
At the moment, it generates a compiler error.
mentalthink:
Hi MRTatoad, the fact for make the prototype of a function... it´s like declare a variable?¿... I don´t understand too much reading C++ books, says it´s obligatory (other not), but it´s only like a "visual Help"
MrTAToad:
The type would be known though - after all you can pass types as a parameter :)
In addition, it would be nice if you could pass a function directly rather than having to use a variable.
mentalthink:
THX!!!
MrTAToad:
No problem!
Navigation
[0] Message Index
[#] Next page
Go to full version