Re: [fpc-pascal] Initializing Arrays?

2008-12-25 Thread Andrew Brunner
I typically use Empty, SetSize, Copy, and IndexOf etc. Methods for all my DataTyped Arrays. The SetSize method sets the size and for each Item in the Array I call empty. Empty(Var Item:TJSMContact); overload; Empty(Var Items:TJSMContacts); overload; var iLcv:integer; begin For iLcv:=0 to High

[fpc-pascal] html and chm help (lcl, fcl) translation in other languages ?

2008-12-25 Thread Andreas Frieß
when i search for the lazarus help system with html and the comming chm, i didn't find information about the creating this, for other languages. It is not clear for me, how to handle this. The study of the structure of the svn and the search inside of the wiki and the docs didn't make it clear

Re: [fpc-pascal] Initializing Arrays?

2008-12-25 Thread Jürgen Hestermann
I've already read that its not built into pascal but how do I get around this? If you use AnsiStrings they should be always initialized (as far as I know). But most other (and all selfdefined) types are not. If you want to initialize a whole array in one step you can use: fillchar(contact