A Goon
SMB wasn't designed remember, it grew like a particularly ugly wart - with layers and layers of glop added onto a simple DOS filesharing interface, so it has no consistency at all.
- Jeremy Allison
The year 2005 ends in 0 seconds
Modified: August 09 2006.
Hits: 7145618/10952245
User: Anonymous Coward
Time: 0.04 seconds.

Read Message

I HATE static variables!

Author: SoulTaker ()
Date: 2000-04-17 00:00:00

The last few weeks, I've been learning a new programming language (RPG for the IBM AS/400), and today I just found out that all variables declared in any subprogram/routine are static. So I'll have to initialize them everytime.

Damn, 3 hours wasted. I just couldn't figure out why everything worked the first time I entered the subprogram, and the next time, it exited after the start page. Reason: my 'Exit Program' boolean was left on 'true' =)

SoulTaker

I HATE static variables! - SoulTaker - 2000-04-17 00:00:00
-Hehe. :) C++ owns you. - rRaminrodt - 2000-04-17 00:00:00