Search found 4 matches

by lkd85
Mon Dec 29, 2003 9:51 pm
Forum: Coding Questions
Topic: Dynamic Arrays In Structures?
Replies: 1
Views: 895

Dynamic Arrays In Structures?

Hi again, I have yet another array question. I just saw an example of
how to fake dynamic arrays in Pure Basic. After this I modified it to see if it would work in the following way:


Procedure CopyArray(PtrToSrcArray.l, PtrToDestArray.l, length.l)
Dim getarraydata.b(length)

CopyMemory ...
by lkd85
Mon Dec 29, 2003 6:14 am
Forum: Game Programming
Topic: About converting Irrlicht 3d Headers
Replies: 0
Views: 1503

About converting Irrlicht 3d Headers

I was reading some of the old post in the forum the other day about
3d engines and I ran over a post about an engine called Irrlicht 3d. Interested, I downloaded it and ran a few of the demo. Its fast! So I was trying to convert the headers but ran across a few C++ commands I have forgotten(haven't ...
by lkd85
Mon Dec 29, 2003 2:31 am
Forum: Coding Questions
Topic: How to Get Size Of Variables with arrays
Replies: 4
Views: 1405

Fast replies! To both einander and freak thanks! I also found the same code in the CodeArchive file and I compiled a little array library dll out of the code samples. PureBasic has almost(if not) everything I need for serious 3D gaming(which I plan to do) without the sacrifice of speed.
by lkd85
Sun Dec 28, 2003 6:41 pm
Forum: Coding Questions
Topic: How to Get Size Of Variables with arrays
Replies: 4
Views: 1405

How to Get Size Of Variables with arrays

Hi, I'm brand new to PureBasic and I was wondering if there's an easier
workaround to finding the size of a variable with an array without manually multiplying the array size. PureBasic doesn't seem to have a UBound or LBound function either.

Ex.

Dim testarr.l(100)

;SizeOf(testarr) doesn't work ...