Hi Thomas,
I understand what the [in] and [out] attributes do in predicate arguments, but not [byval]. What does it mean and how would I use it?
-
- VIP Member
- Posts: 147
- Joined: 5 Dec 2012 7:29
[byval] attribute
Mutall Data Management Technical Support
- Thomas Linder Puls
- VIP Member
- Posts: 1404
- Joined: 28 Feb 2000 0:01
As the language reference states about byVal:
It is not intended for normal programming.
It is only intended for interfacing to foreign code (like the Windows API), and has to do with confirming to such foreign codes calling conventions. You will notice that it can only be used in combination with foreign calling conventions stdcall, apicall and c.
If that doesn't mean anything to you, then you shouldn't use it .An argument is transferred directly on the stack rather than using a pointer.
It is not intended for normal programming.
It is only intended for interfacing to foreign code (like the Windows API), and has to do with confirming to such foreign codes calling conventions. You will notice that it can only be used in combination with foreign calling conventions stdcall, apicall and c.
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 147
- Joined: 5 Dec 2012 7:29