Forum > General

(Closed)-SERIALIZED keyword for parameters of functions wish list!

(1/2) > >>

jamie:
Would be nice if I could ensure the function would process a single function source of data for various parameters in the protocol header.

 Currently the compiler will not guarantee this using the same function as the source of data in the order as indicated.

 
 Just a wish !

BildatBoffin:
User attributes and introspection (reflection on these attributes) could solve that.

PascalDragon:

--- Quote from: jamie on May 22, 2024, 02:36:14 am ---Would be nice if I could ensure the function would process a single function source of data for various parameters in the protocol header.

 Currently the compiler will not guarantee this using the same function as the source of data in the order as indicated.
--- End quote ---

I don't get what it is exactly that you want?

jamie:

 I need to force the compiler to build the parameters from functions in order.

 Currently it seems the compiler may call these functions in random order and then populate the parameters for the final function header.

  These functions need to be called in order in the background, at times they are not.

 FucName(Fun1, Fun2, Fun3,..);

 in the background, the compiler may call fun2 first or even fun3

I have a couple of apps written in Delphi 32 using a PASCAL call that seems to follow the order correctly.



Thaddy:
You mean function chaining? That is already possible. KOL is built around that.

Navigation

[0] Message Index

[#] Next page

Go to full version