Is it possible to use dynamic arrays in gpc?

Ohonin Yuriy yuriy at krk.ru
Thu Feb 7 03:41:10 CET 2008


On Thursday 07 February 2008 00:47, Russell Whitaker wrote:
> On Wed, 6 Feb 2008, Ohonin Yuriy wrote:
>
> [...]
>
> > Also, what about
> >
> > 45: warning: missing string capacity -- assuming 255
>
> Use a type.
> Examples:
>
>    type
>      string80 = string( 80 );
>      alongstring = string( 100000 );
>
> Russ

The main advandage of Pascal is that strong typization mekes working whith 
pointers and dynamic structures very easy. If i need to write my own class 
for Normal Strings, and for most of functions to work whith it - it is better 
switch to fpc, or just c++ - it's already written.

Farewell.

-- 
Yuriy 





More information about the Gpc mailing list