05-03-2009, 11:00 PM
Hello Gintaras:
It worked !!
hock:
for example
Macro
this is strange but i did it making the first declaration as shown:
I have executed the following code:
Macro
then i have executed the second time with the following code:
Macro
but now i have another question:
would it cause unhandled memory leaks?, and
is there a way to define it without runing the class definition two times?
Macro
Thank you.
Regards
It worked !!
hock: for example
Macro
;This macro will be displayed when you click this class name in the editor and press F1.
;Add class help here. Add code examples below EXAMPLES.
;EXAMPLES
#compile "__Nodes"
Nodes* x
Nodes* i
x._new()
i=x
x.data=9
x.nextNode._new()
x=x.nextNode
x.data=8
out i.data
i=i.nextNode
out i.datathis is strange but i did it making the first declaration as shown:
I have executed the following code:
Macro
then i have executed the second time with the following code:
Macro
but now i have another question:
would it cause unhandled memory leaks?, and
is there a way to define it without runing the class definition two times?
Macro
#ifndef FirstDeclare
,int+ FirstDeclare=1
,class Nodes int'data
#else
,class Nodes Nodes'*NextNode int'data
#endifThank you.
Regards
