|
|
Hi,
so, i got a line for writing an array, it's ok for this,
and the point are in one order (first to the last):
#write (Data, array_name[V],",\n")
But, i want an array with an inverse order (last to the first pt), and for
writing the same reverse array , with Reverse_Array, it's not really ok. There
is an output file, and it's possible to read it, but points are not where i
want...
#write (Data, Reverse_Array(array_name)array_name[V],",\n")
Maybe it's not the good macros for manipulating arrays in this case, or i use it
badly ?
Albun
Post a reply to this message
|
|
|
|
"Albun" <nomail@nomail> wrote:
> Hi,
>
> so, i got a line for writing an array, it's ok for this,
> and the point are in one order (first to the last):
>
> #write (Data, array_name[V],",\n")
>
> But, i want an array with an inverse order (last to the first pt), and for
> writing the same reverse array , with Reverse_Array, it's not really ok. There
> is an output file, and it's possible to read it, but points are not where i
> want...
>
> #write (Data, Reverse_Array(array_name)array_name[V],",\n")
>
> Maybe it's not the good macros for manipulating arrays in this case, or i use it
> badly ?
>
>
> Albun
I don't know those macros you're using, but if
#write (Data, array_name[V],",\n")
works as expected, then
#write (Data, array_name[N-1-V],",\n")
should do what you want (where N is the number of elements in your array).
Hope that helps,
Regards Roman
Post a reply to this message
|
|