Concepts behind Field, new, method, abstract, etc

BlitzMax Forums/BlitzMax Beginners Area/Concepts behind Field, new, method, abstract, etc

Dubious Drewski(Posted 2005) [#1]
[Original question has been deleted due to the idiocy of its nature]

Now that I understand those concepts somewhat, I have
other questions that you might be able to help me with that the Guide didn't seem to answer.

1.
I understand that a Field is specifically attached to a type, or object.
A function is not. So when I see a function inside a Type
declaration, is it there just so that someone reading the
code knows what object it affects? Could you put that
function outside of the type declaration and have the
same functionality?
Same goes for Globals and Locals declared in a Type.


2.
I still don't understand:
Method New ()

"New" is a Blitz word. You can't type "Method Print", so
why can you do this? (And what does it do?)
How would you even reference this Method when it doesn't have a name(that I can see)?

3.
I've also heard that the Eachin Command is slow. Is there an alternative?


Haramanai(Posted 2005) [#2]
I recoment you to see Wave's Beginners guide to BlitzMax
http://www.blitzmax.com/Community/posts.php?topic=42519


Dubious Drewski(Posted 2005) [#3]
Thank you for the link.

I've also found the following link to be VERY helpful:

http://java.sun.com/docs/books/tutorial/java/concepts/


FlameDuck(Posted 2005) [#4]
Also Bruce Eckels Book while written for Java, contains information useful to BlitzMAX developers. Particularly in the early chapters.