>>> There is no concept of 0 base in Clipper code, is there ?
>> 
>> There is.
>> 
> I think we are talking on two different planes.
> 
> There is no concept of 0 base in Clipper code, is there ?

There is. Pls reread my msg. But anyway this is 
not strictly a Clipper compatibility issue.

> =>
> There is no concept of 0 base in Clipper arrays.
> 
> hb_gtInfo( HB_GTI_PALETTE ) numeric index and an array both.
> And here is where my logic resided, not that numeric 0 is not a 
> valid parameter.

There is no concept of storing colors in arrays 
anywhere in Clipper or Harbour, so there is no 
point to adapt the numbering to this one exception.

You won't be able to bend the whole world and 
modify well-known indexes to match 1 based 
arrays of Clipper/Harbour.

> Anyway this is not a big deal. I will change it but first 
> I have to serach my application if I ever used this feature
> with numeric indexes or not. A little later, now on hbIDE alone...

grep HB_GTI_PALETTE *.prg will tell you where 
to modify.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to