const
 data : array[ 1..{leave open} ] of byte = ( 11 , 12 , 13 );

 datalen = sizeof( data ) div data[ 1 ];

Would this possible in a way?
In C it is possible.

Now I have to know the length of the array data and say it before.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to