User bio
404 bio not found
Member since Jan 18, 2023
Replies:

A good thing to know is, that there isn't actually a thing as 'during compile time' in ObjectScript.
Compiling a class is a three step process:
- transform the class definition (including any superclasses) to a (set of) .MAC files
- the Macro 'compiler' resolves the $$$macros and #xxx statements and create a (set of) .INT routines
- which in turn are pre-compiled into byte code .OBJ routines

#dim a,b,= ##class(Data.Product).%New()
#dim x,y,as Data.Product = ##class(Data.Product).%New()
in a .MAC routine becomes:

Set (a,b,c)=##class(Data.Product).%New()
Set x=##class(Data.Product).%New(),y=##class(Data.Product).%New(),x=##class(Data.Product).%New()
in a .INT routine

Certifications & Credly badges:
Herman has no Certifications & Credly badges yet.
Global Masters badges:
Followers:
Following:
Herman has not followed anybody yet.