Macros with embedded With
Posted: Wed Dec 16, 2009 1:36 am
I noticed that Macros don't allow With...EndWith
why? is there a stack issue or something?
why? is there a stack issue or something?
Code: Select all
Structure test
x.i
y.i
z.b
End Structure
Macro ConstructTest(a, b, c, d)
a=AllocateMemory(SizeOf(test))
With a
\x=b
\y=c
\z=d
EndWith
EndMacro
ConstructTest(*var.test, -2600, 100, 10)