Raised This Month: $ Target: $400
 0% 

Structures in Pawn?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 07-01-2007 , 14:01   Re: Structures in Pawn?
Reply With Quote #1

That link is totally irrelevant, and yes you are wrong. There is nothing special needed to get floats, but using the enum struct stuff can sometimes require you to explicitly state the tag, otherwise you'll get some tag mismatches.

It's all preference. If you like the struct-like syntax, then use it. Most plugins are only maintained by one person, so syntax should only matter to that one person.

The only thing I can think of off of the top of my head that could possibly break would be sizeof(), and I have no idea if it works or not, as I do not use that syntax.
__________________
fyren sucks

Last edited by sawce the snail; 07-01-2007 at 14:03.
sawce is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode