Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Sven Barth via fpc-pascal
Am 20.07.2018 um 00:53 schrieb Ben Grasset: If a feature works as intended and is useful (which is all that matters), how is it "blind copying"? Because a feature might change the language in a way that's not in the spirit of the language. Look at how Delphi implemented attributes: they're decl

Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Ben Grasset
If a feature works as intended and is useful (which is all that matters), how is it "blind copying"? On Thu, Jul 19, 2018 at 7:25 AM, Marco van de Voort wrote: > > In our previous episode, Ryan Joseph said: > > > > That?s pretty disheartening honestly. So there was a useful feature users > > cou

Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Ben Grasset
I'm quite certain a lot of people would disagree with you on that. But there you have the reason why the "having to read code you don't like looking at" argument makes no sense. It's completely subjective. On Thu, Jul 19, 2018 at 12:37 AM, Martin Schreiber wrote: > On Wednesday 18 July 2018 23:3

Re: [fpc-pascal] GetAppConfigDir(False) in a Citrix environment

2018-07-19 Thread Bart
On Wed, Jul 4, 2018 at 12:18 AM, Graeme Geldenhuys wrote: > I haven't had time to look at that job at work yet, but it's on my todo > list and should be done in the next week. I don't mind sharing the solution. This is the easy part: const WTS_CURRENT_SERVER_HANDLE = DWORD(0); WTS_CURRENT_S

Re: [fpc-pascal] Pascal units to connect to an Exchange server

2018-07-19 Thread Sven Barth via fpc-pascal
luciano de souza schrieb am Do., 19. Juli 2018, 20:29: > Hello all, > From a Linux machine connected to a Windows machine by VPN, I’d like > to send e-mails programmatically using a Microsoft Exchange account. > Using Windows resources, I could call Outlook automation API to do > this task. But i

Re: [fpc-pascal] Pascal units to connect to an Exchange server

2018-07-19 Thread Sven Barth via fpc-pascal
Bo Berglund schrieb am Do., 19. Juli 2018, 21:52: > On Thu, 19 Jul 2018 15:29:12 -0300, luciano de souza > wrote: > > >Hello all, > >From a Linux machine connected to a Windows machine by VPN, I’d like > >to send e-mails programmatically using a Microsoft Exchange account. > >Using Windows resou

Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Bo Berglund
On Thu, 19 Jul 2018 03:42:26 +0200, "Tomas Hajny" wrote: >Hello everybody, > >The discussion in this thread seems to be endless and arguments are >repeating over and over. Moreover, some of the words and statements having >appeared in certain posts are better avoided in polite communication. >Eve

Re: [fpc-pascal] Pascal units to connect to an Exchange server

2018-07-19 Thread Bo Berglund
On Thu, 19 Jul 2018 15:29:12 -0300, luciano de souza wrote: >Hello all, >From a Linux machine connected to a Windows machine by VPN, I’d like >to send e-mails programmatically using a Microsoft Exchange account. >Using Windows resources, I could call Outlook automation API to do >this task. But i

[fpc-pascal] Pascal units to connect to an Exchange server

2018-07-19 Thread luciano de souza
Hello all, From a Linux machine connected to a Windows machine by VPN, I’d like to send e-mails programmatically using a Microsoft Exchange account. Using Windows resources, I could call Outlook automation API to do this task. But is the same possible with Linux resources? Is there a Freepascal uni

Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Marco van de Voort
In our previous episode, Ryan Joseph said: > > That?s pretty disheartening honestly. So there was a useful feature users > could be leveraging but it was turned down because it didn?t fit into some > paradigm or something like that. Sorry to hear that. No, because blind copying from one languag

Re: [fpc-pascal] Syntax changes suggestions

2018-07-19 Thread Mark Morgan Lloyd
On 18/07/18 20:45, Ryan Joseph wrote: On Jul 18, 2018, at 1:46 PM, R0b0t1 wrote:> > You can make the function yourself. That you may have problems with> typing are indicative that the language could use a more expressive> type system, not that it was a good idea to create an intrinsic that> c