Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Jacob Kroon via fpc-pascal
Hi Sven, On 4/13/23 14:12, Sven Barth via fpc-pascal wrote: Jacob Kroon via fpc-pascal <mailto:fpc-pascal@lists.freepascal.org>> schrieb am Do., 13. Apr. 2023, 12:53: I ask the #fpc Libera.Chat IRC administrators (if they are listening here) to revoke channel operator status

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Jacob Kroon via fpc-pascal
Hi, Now I'm also banned from #lazarus, the reason is "harrassment by pm". I ask the #fpc Libera.Chat IRC administrators (if they are listening here) to revoke channel operator status for user "Joanna". I'm now also banned from #pascal, Libera.Chat, reason "trolling". *sigh* /Jacob __

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Jacob Kroon via fpc-pascal
Hi Tomas, On 4/13/23 11:39, Tomas Hajny via fpc-pascal wrote: Just FYI - I don't see anybody having name "Joanna" among people subscribed to this mailing list, and nobody like that has been considerably active here in the last years as far as my memory serves correctly. Obviously, the addre

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Jacob Kroon via fpc-pascal
Hi Michael, On 4/13/23 11:17, Michael Van Canneyt via fpc-pascal wrote: On Thu, 13 Apr 2023, Jacob Kroon via fpc-pascal wrote: Hi, Is there an offical IRC channel for asking questions about the FreePascal compiler ? I tried asking questions in #fpc on Libera Chat, but when I refused to

[fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Jacob Kroon via fpc-pascal
Hi, Is there an offical IRC channel for asking questions about the FreePascal compiler ? I tried asking questions in #fpc on Libera Chat, but when I refused to upload the Pascal source code I was working with to a public place (since it is proprietary), I got banned from the channel by user

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-04-04 Thread Jacob Kroon via fpc-pascal
Hi Tomas, On 4/4/23 09:51, Tomas Hajny wrote: On 2023-04-04 09:43, Jacob Kroon wrote: Hi Jacob, You don't need to change "var" to "const" - if you want to ensure the variables to persist in between the function/procedure runs, you need to move them to the global level, i.e. outside of the

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-04-04 Thread Jacob Kroon via fpc-pascal
Hi Michael, On 4/4/23 09:05, Michael Van Canneyt wrote: [cut] Do I have any other option besides changing from "var" to "const" everywhere, and provide initial values in all declarations ? Make them actually global variables. procedure X; Var  y : integer; begin // Use y end; becomes

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-04-04 Thread Jacob Kroon via fpc-pascal
Hi Tomas, On 4/4/23 09:01, Tomas Hajny via fpc-pascal wrote: [cut] You don't need to change "var" to "const" - if you want to ensure the variables to persist in between the function/procedure runs, you need to move them to the global level, i.e. outside of the functions/procedures. It is not

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-04-04 Thread Jacob Kroon via fpc-pascal
Hi Bernd, On 4/4/23 08:54, Bernd Oppolzer via fpc-pascal wrote: Am 04.04.2023 um 08:16 schrieb Jacob Kroon via fpc-pascal: Thanks for the tip above. I was able to write a couple of perl-scripts that are able to convert my old Pascal sources to something that fpc can parse. Amongst other

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-04-03 Thread Jacob Kroon via fpc-pascal
Hi Charlie, everyone, On 3/28/23 11:33, Karoly Balogh wrote: [cut] If you want to export a variable without name mangling, you must declare a public name for it, something like: var foobar: integer; public name '_myfoobar'; Then reference it as: var foobar: integer; external name '_m

[fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-03-28 Thread Jacob Kroon via fpc-pascal
Hi, I have some old Pascal code that was compiled in a CPM environment using the Pascal/MT+ compiler from Digital Research. I'm trying to get this project to build in a modern environment, for a start using FreePascal. First, is anyone aware of a tool for converting this dialect of Pascal to