I am trying to declare an array of floats that is a fixed size. For instace an_array REAL4 [#]. Won't let me. I also tried to declare the array and its contents such as an_array REAL4 [#R,#R] i am sure there is some way to do this. I can't find an example anywhere. Thanks ahead of time for any help you can provide.

Posted on 2001-08-19 15:36:20 by [=CC=]AMBUSH
Think ASM, not C.

myvar REAL4 1.0, 2.0, 3.0, 4.0, 5.0

that should set up an array of five REAL4 variables.

myvar REAL4 50 dup (?)

Will give you an unitialized array that can hold 50 floats.

And if you need an amount that is unknown at compile-time, use
dynamic memory allocation.
Posted on 2001-08-19 15:43:21 by f0dder
I hope she does :) Thx Fodder
Posted on 2001-08-19 15:44:24 by [=CC=]AMBUSH