SRL Archive - Reflection Development

Define reflection


Sir R. M8gic1an

2010-07-10 05:06:58

In Smart.scar we have:

{$DEFINE SRL_SMART}
{$DEFINE SMART}

I would suggest the same for Reflection.Simba, as it allows for easier management of code.


{$DEFINE REFLECTION}

This way all you need to do to define ref, is include it.
To undefine it, just comment out the including.

To use any IFDEFs, you know ref will always be defined if it is included.

~RM

i luffs yeww

2010-07-10 06:56:09

Isn't SMART like that because it's included in Simba? I dunno, but if so, reflection would have to be included with Simba for the {$Define Reflection}, wouldn't it?

Sir R. M8gic1an

2010-07-10 06:59:42

From: i luffs yeww
Isn't SMART like that because it's included in Simba? I dunno, but if so, reflection would have to be included with Simba for the {$Define Reflection}, wouldn't it?


No, it wouldn't.

And Smart is not included in Simba ;) It's included in SRL.

~RM

Nava2

2010-07-10 09:20:35

Committed in rev 44. :)

Sir R. M8gic1an

2010-07-10 10:50:41

yay, thanks :)

~RM