Super Strict?

BlitzMax Forums/BlitzMax Beginners Area/Super Strict?

Hi!

I've searched the forum, Blitz Wiki and the BlitzMax docs, but can't find any info about "Super Strict"?!? Can anyone give me a description of the difference between Strict and Super Strict, or a link in the forum that describes this?

Thanks!

SuperStrict is the same as Strict but with the exception that you absolutely must declare variable types.

For example under strict you could go:
Local img

And it would assume that img was an integer. With SuperStrict, it will not make assumptions.

You would need to specify it:
Local img:TImage

And it leads to less bugs so I wholeheartedly recommend it's use. Personally I wish SuperStrict was also case sensitive...

beaten to it.

Thanks One Eyed Jack!

Also will absolute force return types for functions!.

Also will absolute force return types for functions!.


Yes, that's gonna save me headaches. I'm always forgetting to define function return types for some reason.

Personally I wish SuperStrict was also case sensitive...


This will be added later with ExtraSuperDuperStrict mode! ;)

Russell

Case sensitivity would rock!

That's CrazyWickedStrict.