Hello Darrell,
Darrell>My mission now is to get everyone to use includes and macro's.
I'm done with the "Blinky lights" and "why doesn't my program work" stuff. <<
In C/C++ we call this "OOP's" Object Oriented Programming. It is extremely nice, because once your "Include" is running (rountine or whatever you want to call it)... you can almost COUNT on that rountine to work nomatter what. You can forget about it. Call it up as a "Subroutine" to a degree, and know the response you received from your "routine" will be accurate and working.
One of the biggest disadvantages of Basic, (or PBP) is that the variables are "Global". Care must be taken to keep track of all variables within your program. C/C++ has what they call "Local" variables. These variables are ONLY recognized within their own subroutine or "object".
I, myself, prefer subroutine and/or (what you call Include files) to my preferred method of programming. I have not "played" with the Include statements yet, and my own Psuedo Libraries of code. But someday I will have time to sit down and start putting together my own...
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks