Recent

Author Topic: [SOLVED] Missing TStringLits - Identifier not found  (Read 6530 times)

mudah

  • New Member
  • *
  • Posts: 13
[SOLVED] Missing TStringLits - Identifier not found
« on: March 10, 2011, 04:53:44 am »
Hello

I am newbie to Pascal, especially FPC and Lazarus

I tried to use TStringList in lazarus 0.9.28.2 (i386-win32) but I got an error: Identifier not found "TStringList". Tried google with no help. Below is my code..

Quote
procedure RegistryOps();
var
   Reg: TRegistry;
   names: TStringList;
...

Did I miss something? what Unit should i have to get TStringList work? Where to download those missing unit?

Thanks
« Last Edit: March 10, 2011, 04:01:06 pm by mudah »

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Missing TStringLits - Identifier not found
« Reply #1 on: March 10, 2011, 05:39:08 am »
Code: [Select]
procedure TForm1.RegistryOps();
var
   Reg: TRegistry;
   names: TStringList;
...

vvzh

  • Jr. Member
  • **
  • Posts: 58
Re: Missing TStringLits - Identifier not found
« Reply #2 on: March 10, 2011, 06:44:48 am »
what Unit should i have to get TStringList work?
Code: [Select]
uses ..., Classes;

mudah

  • New Member
  • *
  • Posts: 13
Re: Missing TStringLits - Identifier not found
« Reply #3 on: March 10, 2011, 04:00:19 pm »
Thanks vvzh

Its worked!  :)

 

TinyPortal © 2005-2018