
Help with array within structures
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
I agree with you, also on BlitzMax. I think its quite a crude language, as BlitzBasic was and always will beNum3 wrote:Don't go hard on the guy, we are all noob's at something...
Structures and linked lists puzzled me too for quite some time.
Not many basic dialects have those.
Just for fun, try to do this same thing in BlitzMax...
That's the reason i dumped it, takes too much time to work with linked lists![]()
robert1352, don't feel bad about this... it takes time to learn how to speak purebasic

But yes, Before working on actual code with structures, play with them, until you understand the whole thing and you're confident enough to move on.
-
- User
- Posts: 34
- Joined: Tue Mar 14, 2006 8:17 pm
Good advice!
Yeah, even though im still a noob with purebasic ive learned a lot from this project im working on.I guess its true what they say"the best way to learn is by doing". 

Wouldn't this work a little easier?
Demivec
Code: Select all
ForEach mys()
DisplayTransparentSprite(mys()\Type,mys()\X,mys()\Y)
Next
Demivec
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
-
- User
- Posts: 34
- Joined: Tue Mar 14, 2006 8:17 pm
no subject
whats the difference between this:
ForEach mys()
DisplayTransparentSprite(mys()\Type,mys()\X,mys()\Y)
Next
and this:
While NextElement(ghost())
displaysprite(ghost()\sprite, ghost()\x, ghost()\y)
Wend
are there any diffrences I should be aware of,because this is what I have in my code??
ForEach mys()
DisplayTransparentSprite(mys()\Type,mys()\X,mys()\Y)
Next
and this:
While NextElement(ghost())
displaysprite(ghost()\sprite, ghost()\x, ghost()\y)
Wend
are there any diffrences I should be aware of,because this is what I have in my code??