> And is there any way to force left-to-right parameter evalution order?
Evaluate the parameter separately from the function call, in your expected
order.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Argument-evaluation-order-in-Free-Pascal-and-Delphi-tp571
On Tuesday 29 October 2013 02:48:33 Dmitry Boyarintsev wrote:
>
> P.S. Offtopic: I personally find it horrible to call a unit "classes" (it's
> fine for RTL, since it's started this way, but any other library - it is
> horrible). Nobody calls their units like "functions" or
> "functionsandprodures"
> Is it much different than just extending the prefix "M" to "MFP"?
+1
> Nobody calls their units like "functions" or "functionsandprodures" (though I
> think I saw unit "funcs" one day)
I admit that I use "settings" or "config" quite often, though they're meant to
be application specific inst
On Mon, Oct 28, 2013 at 9:27 AM, Graeme Geldenhuys
wrote:
> I would have thought that is exactly what namespaces will be handy for! Or
> at least a popular use-case. Macros Douglas could define a "douglas"
> namespace, and the MSEide+MSEgui project could define a "msegui" namespace.
> Units, Class
On Monday 28/10/2013 at 15:03, silvioprog wrote:
So, which one is recommended to be used in production?
Having recently (and currently still) doing extensive work with
embedded HTTP servers, I tested many (Powtils, Indy, tiWebServer, FPC,
nYume etc). I must agree with Michael, fphttpserv
On Monday 28/10/2013 at 15:20, leledumbo wrote:
Namespace does NOT solve the problem. If MSE units uses M. for
their units and you have yours the same as well, you'll end up
renaming either anyway.
I would have thought that is exactly what namespaces will be handy
for! Or at least a pop
Hi, As it is written in Free Pascal wiki, order of parameter evaluation is not defined in FPC, but it is defined in Delphi (Delphi guarantees left-to-right evaluation order).However, when i compile my program with FPC in Delphi-mode (-Mdeplhi), arguments in function calls are evaluated in right-to-
Hi,
On Monday 28/10/2013 at 12:12, Michael Van Canneyt wrote:
That can be tested easily:
Try switching off UAC, see if it works then.
If so, we'll know in what direction to look...
Unfortunately it made no difference. I disabled UAC completely,
rebooted the Win7 system. The ran the webserv
Regards,
- Graeme -
On Monday 28/10/2013 at 11:38, Michael Van Canneyt wrote:
Damn windows Firewall :(
That's what I thought too... but maybe I was wrong. My bad!
Does the request arrive at all in the webserver app ? i.e. does the
Accept() call return ?
For some reason I was concent
On Mon, Oct 28, 2013 at 12:31 PM, Martin Schreiber wrote:
> On Monday 28 October 2013 13:10:04 Dmitry Boyarintsev wrote:
>
>> > I have, for years, many units that have the prefix 'M'. So I have
>> > MClasses, MCore, MTasks, MSystem, etc.
>> > Now MSEgui (by Martin Schreiber) introduced a mclasses
So, what you're looking for is to change a "unit search priority" for a
specific units compiled:
// use a unit.
-Fu/path/mse/msegui.pas
// set the units search priority path
-Fs/path/mse/msegui.pas@/path/mse
In that case, if MClasses is used by "msegui.pas", "Mclasses" from
/path/mse will be used
On 10/28/13, Mark Morgan Lloyd wrote:
>>> For windows there is winutils.iswindowsadmin(), for unix likes there is
>>> fpgeteuid (which should return zero for root).
>>
>
> Also remember unix-style capabilities.
>
Care to elaborate on that?
Bart
___
fp
On Monday 28 October 2013 13:10:04 Dmitry Boyarintsev wrote:
> > I have, for years, many units that have the prefix 'M'. So I have
> > MClasses, MCore, MTasks, MSystem, etc.
> > Now MSEgui (by Martin Schreiber) introduced a mclasses unit -- your
> > own implementation of classes unit -- and I can
On 10/28/2013 01:19 PM, Reinier Olislagers wrote:
On 20/10/2013 13:27, Nikolay Nikolov wrote:
On 10/20/2013 01:56 PM, Reinier Olislagers wrote:
Trying to create dos cross compiler using FPC trunk x86 r25833, Windows
Why are you using
OPT=-gw2 -gl
I'm not sure these work at all. Debugging inf
2013/10/28 Michael Van Canneyt
> On Mon, 28 Oct 2013, silvioprog wrote:
>
>> Hello,
>> I'm needing to create a own HTTPS server. Googling, I found Powtils(*),
>> with three servers: lightwebserver, lightwebserver2 or
>> lightwebserver3.
>>
>> So, which one is recommended to be used in production
On Mon, Oct 28, 2013 at 10:17 AM, leledumbo wrote:
>> My more fresh example is:
> I have, for years, many units that have the prefix 'M'. So I have
> MClasses, MCore, MTasks, MSystem, etc.
> Now MSEgui (by Martin Schreiber) introduced a mclasses unit -- your
> own implementation of classes unit --
> My more fresh example is:
I have, for years, many units that have the prefix 'M'. So I have
MClasses, MCore, MTasks, MSystem, etc.
Now MSEgui (by Martin Schreiber) introduced a mclasses unit -- your
own implementation of classes unit -- and I can not use both units in
the same project. :(
Namesp
On Mon, Oct 28, 2013 at 9:10 AM, Dmitry Boyarintsev
wrote:
> On Sun, Oct 27, 2013 at 12:07 PM, Marcos Douglas wrote:
>>
>> Yes and how I still use D7 at work I still have this problem.
>> This problem happen not only for unit names but component names too. I
>> can not register two components wit
On Mon, 28 Oct 2013, silvioprog wrote:
Hello,
I'm needing to create a own HTTPS server. Googling, I found Powtils(*), with
three servers: lightwebserver, lightwebserver2 or
lightwebserver3.
So, which one is recommended to be used in production?
None, IMHO.
After I looked at their code, I
Hello,
I'm needing to create a own HTTPS server. Googling, I found Powtils(*),
with three servers: lightwebserver, lightwebserver2 or lightwebserver3.
So, which one is recommended to be used in production?
(*) - https://code.google.com/p/powtils
Thank you!
ps. Issue posted in: https://code.goo
On Sun, Oct 27, 2013 at 12:07 PM, Marcos Douglas wrote:
> Yes and how I still use D7 at work I still have this problem.
> This problem happen not only for unit names but component names too. I
> can not register two components with the same name.
> So, because that, programmers around the world u
On 20/10/2013 13:27, Nikolay Nikolov wrote:
> On 10/20/2013 01:56 PM, Reinier Olislagers wrote:
>> Trying to create dos cross compiler using FPC trunk x86 r25833, Windows
> Why are you using
>
> OPT=-gw2 -gl
>
> I'm not sure these work at all. Debugging info for i8086 is not
> implemented and whe
Bart wrote:
On 10/27/13, Marco van de Voort wrote:
For windows there is winutils.iswindowsadmin(), for unix likes there is
fpgeteuid (which should return zero for root).
Thanks a lot.
Also remember unix-style capabilities.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
On Mon, 28 Oct 2013, Graeme Geldenhuys wrote:
Regards, - Graeme -
On Monday 28/10/2013 at 11:38, Michael Van Canneyt wrote:
Damn windows Firewall :(
That's what I thought too... but maybe I was wrong. My bad!
Does the request arrive at all in the webserver app ? i.e. d
Hi,
I'm running a fcl-web based embedded FPC HTTP web server inside a GUI
application (HTTP port 9000). I then try and access that web server
via http://127.0.0.1:9000/mmaths/login.cgi but under Windows Vista
and Windows 7, the web browser simply says "Website found. Waiting for
reply..."
On Mon, 28 Oct 2013, Graeme Geldenhuys wrote:
Hi,
I'm running a fcl-web based embedded FPC HTTP web server inside a GUI
application (HTTP port 9000). I then try and access that web server via
http://127.0.0.1:9000/mmaths/login.cgi but under Windows Vista
and Windows 7, the web browser sim
26 matches
Mail list logo