carl 82b456f4f8 * The test was wrong, the values to insert into the collections are pstrings, not pchar. %!s(int64=23) %!d(string=hai) anos
..
Makefile bddb2b06ff * small fix for clean %!s(int64=23) %!d(string=hai) anos
README 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex1.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex10.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex11.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex12.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex13.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex14.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex15.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex16.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex17.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex18.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex19.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex2.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex20.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex21.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex22.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex23.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex24.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex25.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex26.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex27.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex28.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex29.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex3.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex30.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex31.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex32.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex33.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex34.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex35.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex36.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex37.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex38.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex39.pp 82b456f4f8 * The test was wrong, the values to insert into the collections are pstrings, not pchar. %!s(int64=23) %!d(string=hai) anos
ex4.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex40.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos
ex5.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex6.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex7.pp 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
ex8.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
ex9.pp a821c38ce6 + Initial implementation %!s(int64=26) %!d(string=hai) anos
foot.tex 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
head.tex 369feeff11 initial implementation %!s(int64=27) %!d(string=hai) anos
myobject.pp 595ec4888a + Fixed example %!s(int64=25) %!d(string=hai) anos
mysortc.pp 5082f98017 Added examples 27-40 %!s(int64=26) %!d(string=hai) anos

README

These are the example programs that appear in the FPC documentation.

Units guide, chapter on Objects unit :

ex1.pp contains an example for the function TRect.Empty
ex2.pp contains an example for the function TRect.Copy
ex3.pp contains an example for the function TRect.Union
ex4.pp contains an example for the function TRect.Intersect
ex5.pp contains an example for the function TRect.Move
ex6.pp contains an example for the function TRect.Grow
ex7.pp contains an example for the function TObject.Free
ex8.pp contains an example for the function TObject.Done
ex10.pp contains an example for the function TStream.StrRead
ex11.pp contains an example for the function TStream.GetPos
ex12.pp contains an example for the function TStream.GetSize
ex13.pp contains an example for the function TStream.ReadStr
ex14.pp contains an example for the function TStream.Close
ex15.pp contains an example for the function TStream.Flush
ex16.pp contains an example for the function TStream.Truncate
ex17.pp contains an example for the function TStream.Seek
ex18.pp contains an example for the function TStream.Read
ex19.pp contains an example for the function TStream.CopyFrom
ex20.pp contains an example for the function TMemoryStream.Truncate
ex21.pp contains an example for the function TCollection.Foreach
ex22.pp contains an example for the function TCollection.Load
ex23.pp contains an example for the function TCollection.At
ex24.pp contains an example for the function TCollection.indexOf
ex25.pp contains an example for the function TCollection.LastThat
ex26.pp contains an example for the function TCollection.FirstThat
ex27.pp contains an example for the function TCollection.Pack
ex28.pp contains an example for the function TCollection.FreeAll
ex29.pp contains an example for the function TCollection.DeleteAll
ex30.pp contains an example for the function TCollection.Free
ex31.pp contains an example for the function TCollection.Delete
ex32.pp contains an example for the function TCollection.AtFree
ex33.pp contains an example for the function TCollection.AtDelete
ex34.pp contains an example for the function TCollection.AtInsert
ex35.pp contains an example for the function TSortedCollection.Insert
ex36.pp contains an example for the function TSortedCollection.Search
ex37.pp contains an example for the function TStringCollection.Compare
ex38.pp contains an example for the function TStrCollection.Compare
ex39.pp contains an example for the function TUnsortedStrCollection.Insert
ex40.pp contains an example for the function NewStr