Re: undeadstrike pure basic version
No, structs are *not* classes. A class is not a struct: with a struct you can only define variables within them. With classes you can define functions within the class alongside the variables (and most class implementations contain visibility modifiers). OOP-based implementations also usually let you extend other classes. Though PB lets you extend other structures they are not classes. And that's your first problem -- you are applying OOP concepts to a language where those concepts do not exist. A procedular language usually does not have classes, inheritance, or any other OOP concept. Do not apply OOP concepts to a language that does not have said concepts. (In C++, structs are classes, which really makes either classes or structures redundant, since the only difference between the two are that in structures everything is public by default. But C++ is the only language I know of where such a thing exists.)
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector