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

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