> On Jan 2, 2023, at 8:29 AM, ppadilcdx--- via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> Sorry copy and paste error. d = decode. Corrected below.  But I think I see 
> what you mean.  Just assigning a type to decode doesn't initialize it. But 
> the compiler is happy with it, i.e. it doesn't call as illegal the statement 
> "decode.create".

Yeah you certainly need to assigned it to the variable or obviously that 
variable will be uninitialized and thus  “d.add” will be an error.

Regards,
Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to