SizeOf() in Asm directives

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

SizeOf() in Asm directives

Post by Deeem2031 »

Would be nice if is works:

Code: Select all

EnableASM
  PUSH SizeOf(POINT)
irc://irc.freenode.org/#purebasic
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Re: SizeOf() in Asm directives

Post by Hroudtwolf »

Hi,

Maybe this could help.

Code: Select all

#A = SizeOf(POINT)

EnableASM
  PUSH #A
DisableASM
Seems to work, here.

Regards
Wolf
Post Reply