Recent

Author Topic: Questions about initialization  (Read 3443 times)

Okoba

  • Hero Member
  • *****
  • Posts: 533

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Questions about initialization
« Reply #31 on: February 25, 2023, 05:10:12 pm »
Fortunately, you can easily supress the messages "Variable "$1" of a managed type does not seem to be initialized" and keep it for non-managed types only.
BTW, why it's there twice - as a Hint and as a Warning? When I got hint and when I got warning?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Thaddy

  • Hero Member
  • *****
  • Posts: 14380
  • Sensorship about opinions does not belong here.
Re: Questions about initialization
« Reply #32 on: February 25, 2023, 05:50:38 pm »
It is in the left menu and called bugtracker.
https://gitlab.com/freepascal.org/fpc/source/-/issues

While your at it consult your eye specialist.. :o
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

VisualLab

  • Sr. Member
  • ****
  • Posts: 331
Re: Questions about initialization
« Reply #33 on: February 25, 2023, 06:20:48 pm »
It is in the left menu and called bugtracker.
https://gitlab.com/freepascal.org/fpc/source/-/issues

While your at it consult your eye specialist.. :o

I visited him in 2020 (it was after this visit that I bought glasses). This specialist then gave me medical advice: don't worry about people who haven't consulted their geriatric specialist :)

VisualLab

  • Sr. Member
  • ****
  • Posts: 331
Re: Questions about initialization
« Reply #34 on: February 25, 2023, 06:46:45 pm »
A page like this in the FPC documentation would be useful. Improving the documentation would greatly help people who are just starting to program in Pascal and Object Pascal using PFC (whether or not they have programmed anything before). I myself once had the understanding of how these subroutines work. Among other things, such trifles significantly affect the popularity of the language. And that's what we care about.

Then please report an issue for the documentation. It doesn't help if you say that things should be improved, the right people need to know about something being amiss.

Suggestion has been sent: A proposal to clarify the documentation of the procedures: Initialize and Finalize.


Thaddy

  • Hero Member
  • *****
  • Posts: 14380
  • Sensorship about opinions does not belong here.
Re: Questions about initialization
« Reply #35 on: February 25, 2023, 07:55:18 pm »
geriatric specialist :)
Yes I know I turned 65 this week, but average age according to my genes and family heritage is 90+  8-)
Anyway, thanks for the congratulations, I know you mean that!  :D

(nice one, tnx,  I know I deserve sarcastic)
« Last Edit: February 25, 2023, 08:52:53 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

VisualLab

  • Sr. Member
  • ****
  • Posts: 331
Re: Questions about initialization
« Reply #36 on: February 25, 2023, 08:26:53 pm »
...I turned 65 this week, but average age according to my genes and family heritage is 90+  8-)

This is good news for the participants of this forum. New users of Pascal who will ask in this forum, will need help from experienced programmers :D
« Last Edit: February 25, 2023, 08:30:33 pm by VisualLab »

Thaddy

  • Hero Member
  • *****
  • Posts: 14380
  • Sensorship about opinions does not belong here.
Re: Questions about initialization
« Reply #37 on: February 25, 2023, 08:44:30 pm »
If I could overflow on a nibble, I would be  zero :P ({R-} state required)
« Last Edit: February 25, 2023, 09:03:14 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Questions about initialization
« Reply #38 on: February 25, 2023, 09:11:37 pm »
Yes I know I turned 65 this week, but average age according to my genes and family heritage is 90+  8-)
Anyway, thanks for the congratulations, I know you mean that!  :D

Congratulations, but... youngster :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018