Recent

Author Topic: Mode ObjFPC - please update  (Read 344 times)

Handoko

  • Hero Member
  • *****
  • Posts: 3488
  • My goal: build my own game engine using Lazarus
Mode ObjFPC - please update
« on: April 09, 2020, 03:52:22 pm »
We have 2 documentations, the wiki page and Free Pascal's Documentation. The items explained for mode ObjFPC are not the same on both pages.

These should be on both pages:
- Inline code is allowed: There is no need to enable it with the {$INLINE} directive.
- Exceptions, classes and Interfaces are enabled.


So, please update the pages.

Here are links:
https://www.freepascal.org/docs-html/prog/progse75.html
https://wiki.freepascal.org/Mode_ObjFPC

PascalDragon

  • Hero Member
  • *****
  • Posts: 1480
  • Compiler Developer
Re: Mode ObjFPC - please update
« Reply #1 on: April 09, 2020, 04:19:38 pm »

Handoko

  • Hero Member
  • *****
  • Posts: 3488
  • My goal: build my own game engine using Lazarus
Re: Mode ObjFPC - please update
« Reply #2 on: April 09, 2020, 04:35:22 pm »

jwdietrich

  • Hero Member
  • *****
  • Posts: 1112
    • formatio reticularis
Re: Mode ObjFPC - please update
« Reply #3 on: April 09, 2020, 05:09:38 pm »
I have updated the wiki page, however the English version only. Anybody being fluent in Spanish or French is welcome to update the corresponding version.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.8 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

Handoko

  • Hero Member
  • *****
  • Posts: 3488
  • My goal: build my own game engine using Lazarus
Re: Mode ObjFPC - please update
« Reply #4 on: April 09, 2020, 05:46:00 pm »
Thank you for updating the wiki page.

lucamar

  • Hero Member
  • *****
  • Posts: 2814
Re: Mode ObjFPC - please update
« Reply #5 on: April 09, 2020, 05:50:13 pm »
Anybody being fluent in Spanish or French is welcome to update the corresponding version.

Done for Spanish.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.6/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018