Re: Object-oriented preprocessor
- Posted by jmduro Aug 26, 2022
- 2390 views
Icy_Viking said...
I wonder if this would work making wrappers?
Something like
include classes.e sequence TRect = class("TRect") TRect = addProperty(TRect,atom x,"") TRect = addProperty(TRect,atom y,"")
Would that work or would I be on the right track?
Actual syntax would be:
TRect = addProperty(TRect,"x",0) TRect = addProperty(TRect,"y",0)
x and y are objects in the actual code.
sequence TRect is stored as
{"TRect", {{"x",0}, {"y",0}}, {}}
You probably want it to be in another format.
Jean-Marc