User Tools

Site Tools


delegates

This is an old revision of the document!


Delegates

Delegates are a new concept in the X# language - in VO they don't exist. In every language there is sometimes the need to pass code as parameter to a function. VO has codeblocks, therefore normally you don't need function pointers, but pass codeblocks instead. The only real use of function pointers in the VO language is the interface to Windows API functions or other DLL calls. Since every pointer use can lead to serious problems when wrongly used, the .NET languages define another concept: the delegates.

delegates.1518846036.txt.gz · Last modified: 2018/02/17 05:40 by wolfgangriedmann