is there any documentation or link, which i be able to read to use all feature of lazarus/FPC like Lazarus/FPC from scracth ,from instalation (in linux) until to use of feature of lazarus/FPC. <br><br><div class="gmail_quote">
2009/4/3 Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/4/3 Dians <<a href="mailto:diansopandi95@gmail.com">diansopandi95@gmail.com</a>>:<br>
<div class="im">> interesting but i'm still newbie.. how do i read text file in lazarus , i<br>
> have been looking for documentation but i have not still get it yet, i have<br>
<br>
</div>You could also use the RTL as follows:<br>
<br>
var<br>
sl: TStringList;<br>
begin<br>
sl := TStringList.Create;<br>
sl.LoadFromFile('/tmp/readme.txt');<br>
<br>
// now you can access each line of the text file via<br>
// sl.Strings[i]<br>
// see help on TStringList and TStrings for more info<br>
<br>
sl.Free;<br>
end;<br>
<br>
<br>
Regards,<br>
- Graeme -<br>
<br>
<br>
_______________________________________________<br>
fpGUI - a cross-platform Free Pascal GUI toolkit<br>
<a href="http://opensoft.homeip.net/fpgui/" target="_blank">http://opensoft.homeip.net/fpgui/</a><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br>