BlitzPlus Global/Local Variable Monstrosities

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Locked
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

BlitzPlus Global/Local Variable Monstrosities

Post by Falco Girgis »

I was taken aback when I was looking at Arce's code for his game the other day. EVERY freaking variable was a global. I've been reprimanding him for weeks now.

I tell him to pass them into functions as arguments, but he always replies, "That's not how it works."

Is it not? Does Blitz not let you pass variables that'd be out of scope to a function as arguments? Is Arce just being a sup-par programmer?
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

Arce, you douche. :nono:

Dear god, if you ever hope to have ANY success as a programmer, you'd better change your ways!
Guest

Post by Guest »

I never said that's not how it works, you're full of shit. Don't complain if you doin't even have your facts straight. I said that how I am using them that would not work. They could work, if i wanted them to, but pfft, I don't.
Guest

Post by Guest »

.
Last edited by Guest on Wed Nov 03, 2004 9:33 pm, edited 1 time in total.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

Okay, not what in the #$%* were you just rambling about? Jesus Christ, you're so bad I have no clue what the hell you're even referring to.
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

Arce quite complaining. Your whining is inevitable. you need to just stop and spell correctly. If you learned how to maybe GV wouldn't be pissed off at you much.
1/8th time- 14secs
1/8th speed - 110mph
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Yeah arce, you better "quite" complaining and spell correctly. :mrgreen:
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

Funny Lemming real funny


edit: noticed i didn't change it so the other posters would know what you were talking about. :roll:
Last edited by Don Pwnious on Fri Nov 05, 2004 9:46 pm, edited 1 time in total.
1/8th time- 14secs
1/8th speed - 110mph
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

I'm just kidding!!!! :lol:
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
Guest

Post by Guest »

Arce quite complaining. Your whining is inevitable. you need to just stop and spell correctly. If you learned how to maybe GV wouldn't be pissed off at you much.
One, you're a moron, and I won't QUITE complaining, because this whole damn topic was made to complain over MY globals.

Two, at least I can punctuate and use proper grammar. On top of that, I, unlike you, know to capitalize the first word in a sentence.

You poor dumbass, DON'T COMPLAIN ABOUT OTHERS UNLESS YOU KNOW FOR CERTAIN YOU DON'T SHARE THEIR PROBLEM!
Locked