Hi *,
I want to dynamically generate the arguments of a method during compile time.
'For example, I want the following method
ClassMethod DoCleverStuf() As %Status [ CodeMode = objectgenerator ] { do %code.WriteLine(" Set tSC = $$$OK") ... }
to look like this in the .int code.
ClassMethod DoCleverStuf(pValue1 As %Integer, pValue2 As %String) As %Status [ CodeMode = objectgenerator ] { // some generated code will be here }
Is this possible? Or alternativel;y, can I generate a whole method at compile time?
Thanks.