View Single Post
  #11  
Old 10-30-2009, 02:52 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by pokeSMOT View Post
But I'm curious, every time you use the temp.'chr's, is it required for you to keep saying "temp."? Does GScript not support enumeration?
No, it's not required, but I find it increases clarity because of GScript's weird scoping rules.

I do not see how enumerated types are related though.

Quote:
Originally Posted by DustyPorViva View Post
That's a hell of a lot of temp's though! And is there really a lot of confusion? I mean in this day and age usually if you see a var without a prefix you can undoubtedly know that it is a temp var. And it looks so much neater!
I personally sacrifice some neatness for clarity. I try to always explicitly define what scope I'm working in.
Reply With Quote