Recent

Author Topic: Translated Textbook  (Read 11918 times)

norm

  • New Member
  • *
  • Posts: 13
Re: Translated Textbook
« Reply #15 on: March 07, 2021, 10:19:27 pm »
Thanks, engkin.

Here is what I think it should be. Please let me know if I did not get it right, or if it could be better.

Code: Pascal  [Select][+][-]
  1. unit Unit1;
  2. interface
  3. uses
  4.     Classes, SysUtils, LResources, Forms, Controls, Graphics,
  5.     Dialogs, StdCtrls;
  6. type
  7. {TForm1}
  8.     // Declare the form class TForm1
  9.     TForm1 = [b]class[/b](TForm)
  10.         // Declare the button component Button1
  11.         Button1: TButton;
  12.         // Declare the event handler for clicking on Button1
  13.         procedure Button1Click(Sender: TObject);
  14.     private
  15.         {private declarations}
  16.     public
  17.         {public declarations}
  18. end;
  19.  
  20. var
  21.     // Declare the class variable for the form (TForm1)
  22.     Form1: TForm1;
  23. implementation
  24.     {TForm1}
  25.     // Event handler for clicking on Button1
  26. procedure TForm1.Button1Click(Sender: TObject);
  27. begin
  28.     // The text of the event handling procedure
  29. end;
  30.  
  31. end.
  32.  

« Last Edit: March 08, 2021, 12:20:15 am by norm »

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Translated Textbook
« Reply #16 on: March 07, 2021, 10:35:00 pm »
I am not by a computer, but meanwhile Lazarus can format the code using Ctrl+D.
« Last Edit: March 07, 2021, 10:54:36 pm by engkin »

norm

  • New Member
  • *
  • Posts: 13
Re: Translated Textbook
« Reply #17 on: March 07, 2021, 10:39:27 pm »
OK. I will use that lead and look at how Lazarus does it.

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Translated Textbook
« Reply #18 on: March 07, 2021, 11:01:53 pm »
If you don't mind me asking, how good are you with the material presented in this book?

norm

  • New Member
  • *
  • Posts: 13
Re: Translated Textbook
« Reply #19 on: March 07, 2021, 11:15:13 pm »
I don't mind at all.

If your question is "How good am I at Free Pascal and Lazarus?" my response would be "good, but not an expert". I am a civil engineer. My interest is in applying Free Pascal / Lazarus to practical problems.

Nevertheless, I have learnt over time the importance of respecting the practices of other disciplines.  So, I am more than happy to listen to the experts, and everyone else. I want this book to be as useful as possible to as many persons as possible!

I am quite familiar, however, with the math and algorithm development content of the book.
« Last Edit: March 07, 2021, 11:17:49 pm by norm »

norm

  • New Member
  • *
  • Posts: 13
Re: Translated Textbook
« Reply #20 on: March 08, 2021, 12:06:03 am »
I applied Ctrl+D in Lazarus to the code at the bottom of Page 362 and its continuation on all the way to Page 366, but it left justified most of the code, except for code at the very beginning of the listing.

It does not look like an improvement on the formatting currently on Page 362, or on code readability overall. :)

aredirect

  • Newbie
  • Posts: 1
Re: Translated Textbook
« Reply #21 on: February 03, 2022, 03:29:32 pm »
This link https://plainwater.com/pubs/FPLazarus.pdf gives error, anyone has the PDF or if it can be attached to the thread?

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Translated Textbook
« Reply #22 on: February 11, 2022, 08:22:29 am »
This link https://plainwater.com/pubs/FPLazarus.pdf gives error, anyone has the PDF or if it can be attached to the thread?
https://www.scribd.com/document/522942476/Fp-Lazarus

I wonder if example code can be downloaded from somewhere?
« Last Edit: February 11, 2022, 08:28:46 am by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

rjk100

  • Newbie
  • Posts: 6
Re: Translated Textbook
« Reply #23 on: February 14, 2022, 11:26:48 pm »
This link https://plainwater.com/pubs/FPLazarus.pdf gives error, anyone has the PDF or if it can be attached to the thread?
https://www.scribd.com/document/522942476/Fp-Lazarus

I wonder if example code can be downloaded from somewhere?

The scribd link requires a login and then a credit card to access a free trial. Is the download available anywhere else?

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Translated Textbook
« Reply #24 on: February 14, 2022, 11:45:28 pm »
Hi!

The original russian version is here:

http://www.freepascal.ru/download/book/tutorial_fpc&lazarus.pdf

Winni

winni

  • Hero Member
  • *****
  • Posts: 3197

rjk100

  • Newbie
  • Posts: 6
Re: Translated Textbook
« Reply #26 on: February 15, 2022, 12:56:29 am »
Hi!

The original russian version is here:

http://www.freepascal.ru/download/book/tutorial_fpc&lazarus.pdf

Winni

I’m looking for the English translation.

rjk100

  • Newbie
  • Posts: 6
Re: Translated Textbook
« Reply #27 on: February 15, 2022, 12:58:25 am »

dbannon

  • Hero Member
  • *****
  • Posts: 2797
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Translated Textbook
« Reply #28 on: February 15, 2022, 01:08:58 am »
I am quite sure the author intended it to remain free.

I have a copy I downloaded early on. Probably not the most up to date but better than nothing.  Hmm, I cannot upload as a pdf, too big. I'll find somewhere to upload and get back to you .

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

dbannon

  • Hero Member
  • *****
  • Posts: 2797
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Translated Textbook
« Reply #29 on: February 15, 2022, 01:18:26 am »
OK, try here - http://bannons.id.au/downloads/FPLazarus.pdf

Note my website (its not really a website) does not have a certificate so you browser may be unhappy, we'll try something else if thats the case.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018