[fpc-pascal] Function to create a record ?

Steve Litt slitt at troubleshooters.com
Sun Jun 4 15:44:39 CEST 2023

Ralf Quint via fpc-pascal said on Thu, 1 Jun 2023 17:43:58 -0700

>On 6/1/2023 5:36 PM, Steve Litt via fpc-pascal wrote:

>> What is the best way for me to construct newperson() so that every
>> time called it would return a new variable?  

>Sorry, but for how long are you programming, in general, and for how 
>long in Pascal?
>Seriously, you should take some very basic Pascal tutorials, work 
>through them, and in particular, pay close attention to the "scope" of 
>variables as well as parameter passing. You seem to be completely 
>oblivious to those very basics here... :(

Feeling better after getting that off your chest Ralf?

My <solved> post reveals the outcome of my investigation.


Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times

More information about the fpc-pascal mailing list