On 16/08/2011 16:25, Luis Fernando Del Aguila Mejía wrote:
I have a doubt.
With the random function, Can you generate random numbers negative?
Begin
randomize;
Writeln (random (-127)) / / 0 = n -127
End.
thanks.
As only negative range :
somebody (Felipe) wrote that: ( -1*Random(127)
On 07/10/2011 14:53, Reinier Olislagers wrote:
On 7-10-2011 15:13, Graeme Geldenhuys wrote:
On 07/10/2011 12:52, Reinier Olislagers wrote:
doesn't work - will need patch -p1 git.diff
Correct, and anybody that has applied a handful of patches or more in
there time would have known that
On 17/10/2011 21:53, Andrew Pennebaker wrote:
Does Free Pascal have anonymous functions that you can pass around,
e.g. to a sort(compare : function, arr : array) function?
If not, does anyone know any hacks to accomplish this?
Cheers,
Andrew Pennebaker www.yellosoft.us
[...]
(facepalm)
I did not try 'anonymous' function as you asked, oh. Need to learn to read ;)
L.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi Andrew,
first of all my /first/ name is Lukasz. Would you /like/ me to use your
surname to refer to yourself ?
Second you seem to be sending the same message twice in one post (once as
plain text the other as HTML) and quoted/printable encoding to make matters
even worse. Please teach your
On 25/10/2011 12:52, Marco van de Voort wrote:
One can debate the syntax. I won't, since even while I have similar
reservations, that will lead to the usual Delphi sucks debate, possible
implementation of an-orphaned-at-birth FPC specific syntax, and in the end
the Delphi syntax always
On 26/10/2011 09:44, Lukasz Sokol wrote:
On 25/10/2011 12:52, Marco van de Voort wrote:
One can debate the syntax. I won't, since even while I have
similar reservations, that will lead to the usual Delphi sucks
debate, possible implementation of an-orphaned-at-birth FPC
specific syntax
On 04/01/2012 00:31, Marcos Douglas wrote:
[...]
Another interesting article is:
http://www.joelonsoftware.com/items/2003/10/13.html
Very interesting and I agree when he say:
I think the reason programmers in C/C++/Java style languages have
been attracted to exceptions is simply because the
On 04/01/2012 11:50, Marcos Douglas wrote:
Ok, I expressed myself poorly.
When I said: If we could return more than one value, ok we (maybe) do
not need Exceptions.
I mean: If we could return more than one value, using a better way
than 'out arguments' or 'array of const', ok we (maybe) do
On 04/01/2012 12:47, Marcos Douglas wrote:
[i see I hit on the obvious so: cut]
I agree with you! But I was discussing the possibility do not using
Exceptions. ;-) Another point is when and where uses Exceptions...
that's what they were discussing.
Marcos Douglas
Well I think there is
On 04/01/2012 12:49, Bernd wrote:
2012/1/3 Lars nore...@z505.com:
But that just a goto statement going to the except label.. Exceptions in a
way are actually forcing you to write your code in a GOTO way.
I would see Exceptions as being more like the fabled COMEFROM, the
legendary
On 16/01/2012 03:09, waldo kitty wrote:
i'm needing to convert a UTC epoch date to a standard time
string... by that, i mean that i want to get something like
2011-01-13 22:24:04 out of the epoch number 12013.9338171...
the above epoch number is (supposedly) built like this...
12 ==
On 30/01/2012 02:31, waldo kitty wrote:
[...]
problem where capacitors were purchased from manufacturers that fell
to the capacitor espionage situation of some, what?, 15 years ago?
Hi Waldo,
it was hard to not notice that situation, 15 years ago, although I never
heard it was espionage...
On 30/01/2012 11:25, Sven Barth wrote:
I wouldn't say that there is no plan for C++ support as some code for
this already exists in the compiler. While it's true that different
C++ compilers are incompatible to each other and that also G++ likes
to change its formats now and then, the basic
On 23/02/2012 16:17, Everton Vieira wrote:
Is there any plans to implement public procedures/function of a class
that can be used without been necessary to create the class?
-- Everton Vieira.
does
class procedure foo(bar: TSomething);
not work ?
L.
Hello,
http://www.downforeveryoneorjustme.com/wiki.freepascal.org
says
It's not just you! http://wiki.freepascal.org looks down from here.
but freepascal.org does work...
Can somebody check what happened ?
L.
___
fpc-pascal maillist -
On 04/07/2012 10:01, Lukasz Sokol wrote:
Hello,
http://www.downforeveryoneorjustme.com/wiki.freepascal.org
says
It's not just you! http://wiki.freepascal.org looks down from here.
but freepascal.org does work...
Can somebody check what happened ?
L.
Thanks, it's fixed now.
L
On 12/08/2012 14:41, Rainer Stratmann wrote:
Am Sunday 12 August 2012 15:29:44 schrieb Jonas Maebe:
Florian already implemented that quite a while ago :) I suggest to drop the
topic though, because Rainer does not appear to be open to taking another
approach
It depends on the approach.
If
On 13/08/2012 10:09, Rainer Stratmann wrote:
Am Monday 13 August 2012 10:35:55 schrieb Lukasz Sokol:
On 12/08/2012 14:41, Rainer Stratmann wrote:
It depends on the approach.
If you have a better solution would you take another approach?
What is wrong with known and explored ways e.g. gettext
On 15/08/2012 08:33, Rainer Stratmann wrote:
Am Wednesday 15 August 2012 03:52:00 schrieb waldo kitty:
the loading code simply
chooses the proper po file and then loads the strings into an array or
whatever using the same variables which are used everywhere no matter what
language their
On 15/08/2012 13:55, Rainer Stratmann wrote:
Am Wednesday 15 August 2012 14:49:04 schrieb Rainer Stratmann:
I would call this function rs( s : pchar ) because it has to be short.
if there is a rs() in the program the compiler stores the caller adress
(unique handle) and the pointer to the
On 15/08/2012 15:17, Rainer Stratmann wrote:
Then the
mov pcharconst , EAX
command also had changed.
At every start of the program I see if it works here.
If it works here ist works outside also.
For example if you add/remove units and rebuild.
All pchar adresses are searched at
On 15/08/2012 16:05, Rainer Stratmann wrote:
Am Wednesday 15 August 2012 16:45:03 schrieb Lukasz Sokol:
If the maintainers decide to build in the suggested function above then
everthing is solved. By now no one of the maintainers wants this.
I can understand why, more or less - this could
On 21/08/2012 17:43, Timothy Madden wrote:
On 08/21/2012 03:10 PM, Jorge Aldo G. de F. Junior wrote:
With no error messages, or even with no changes to the program since 1
and a half year in the repository, the scientific calculations are now
all blown up, and program outputs only errors at
On 30/08/2012 09:04, Arioch wrote:
Ralf A. Quint wrote
At 12:09 AM 8/30/2012, michael.vancanneyt@ wrote:
They are IMHO a negation of what pascal stands for. If your
programming
+1
Well, the same should be told about everything modern pascal is.
Open and dynamic arrays, pointer
On 30/08/2012 18:13, Reinier Olislagers wrote:
On 30-8-2012 18:44, Rainer Stratmann wrote:
[...]
Ok so you prefer to let the beginner leave out in the rain.
Because he and someone else (more experienced) _could_ mislead a clearly
formulated message (are you in the right syntax mode?).
On 01/10/2012 15:21, dhkblas...@zeelandnet.nl wrote:
I need to translate this:
#define mymalloc(x,y) (x*)malloc((y)* sizeof(x))
Is it possible using macro's in FPC or do I need to convert it to a
procedure? How would I cast the pointer in the latter case (without
having to change the
On 11/11/2012 08:48, Reinier Olislagers wrote:
On 11-11-2012 6:55, microc...@zoho.com wrote:
On Sat, Nov 10, 2012 at 07:57:09PM +0100, Jonas Maebe wrote: On 10
Nov 2012, at 19:38, microc...@zoho.com wrote:On Sat, Nov 10, 2012
at 06:20:29PM +0100, Reinier Olislagers wrote: Has anybody
On 11/11/2012 08:48, Reinier Olislagers wrote:
[1]
5.1.Term. This License will take effect as of the Effective date, and
will remain in effect until terminated (i) by Customer with or without
cause, upon twenty (20) days written notice to Pathscale, or (ii) by
Pathscale upon written notice
On 12/11/2012 13:20, Reinier Olislagers wrote:
On 12-11-2012 13:51, Lukasz Sokol wrote:
On 11/11/2012 08:48, Reinier Olislagers wrote:
On 11-11-2012 6:55, microcode-ytc+ihgo...@public.gmane.org wrote:
On Sat, Nov 10, 2012 at 07:57:09PM +0100, Jonas Maebe wrote: On 10
Nov 2012, at 19:38
On 06/02/2013 08:25, Juha Manninen wrote:
A Delphi project DeleD 3-D which I try to convert, has
unit_PNGSupport with method:
function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal;
assembler;
asm
mov eax, aValue
bswap eax;
end;
What would be a cross-platform
On 11/02/2013 23:19, Gerhard Scholz wrote:
I switched to AVAST free Antivirus now, the problem does not occur here.
This is not a pascal question, but maybe can give me a hint if AVAST is good
or which software is more recommendable.
(I do not really trust the tests I find in the internet
On 13/02/2013 07:34, Michael Müller wrote:
I'm not sure if somebody else mentioned this already but I have the feeling
that Giuliano thinks that he has to decide to use try-finally OR try-except
but there are situations where you need both. One of the criteria is if the
object is local or
On 12/02/2013 21:45, Sven Barth wrote:
Note: If anyone wants to answer to this anti virus thread that was
off topic to begin with, we should move over to fpc-other.
Regards, Sven
My apologies, I should have added [OT] to my reply.
Lukasz
___
On 13/02/2013 09:39, Mark Morgan Lloyd wrote:
Lukasz Sokol wrote:
To developers: How would a generalized/packed construct like
try [code block] finally [code block] except [code block] end;
(in other words: a try-*-end construct where * can be 'finally', or
'except', or BOTH.)
fit
On 13/02/2013 11:01, Sven Barth wrote:
On 13.02.2013 10:11, Lukasz Sokol wrote:
[...]
To developers: How would a generalized/packed construct like
try [code block] finally [code block] except [code block] end;
or what about
try [code block] except [code block] finally [code block] end
On 13/02/2013 11:01, Sven Barth wrote:
Keep this FAQ entry in mind when suggesting features:
http://www.freepascal.org/faq.var#extensionselect
(Note: I personally would have nothing against such a feature, but
the details need to be defined!)
Well I guess unless someone is ready to have
On 13/02/2013 12:31, Sven Barth wrote:
On 13.02.2013 12:41, Lukasz Sokol wrote:
[...]
But it's not just 'shorter', it's relatively 'safer' too, and
doesn't forbid anybody from using traditional constructs either, at
all, if they wish so/need so.
That's for example a reason that speaks
On 13/02/2013 13:14, Michael Van Canneyt wrote:
I see no problem in adding finally, if you define carefully when it is
executed.
Michael.
I second that, we don't need no pythonisms here ;) (or is it pythonosis?)
I'd rephrase what I discussed with Sven Barth:
this construct (the
On 13/02/2013 16:50, Giuliano Colla wrote:
IMHO the try..except..finally construct should provide exactly the same
functionality as a nested
try
try
[code]
except
[code]
end;
finally
[code]
end;
i.e. it should be executed whatever happened in the sections between try and
On 14/02/2013 13:58, Giuliano Colla wrote:
It depends on what one tries to do in the try.. clause, on which
errors one choses to deal with on the except clause, and the
likelihood of recoverable errors in the finally clause. Allowing both
constructs, (try..except..finally and
On 18/02/2013 18:53, DaWorm wrote:
If this is what is really desired, is this a good construct?
try ... except ... finally ... except ... end;
I don't care for the meaning of except looking to be contextual,
but is it really? Reading that, to me it looks mostly predictable
how the
On 18/03/2013 03:11, Paul Ishenin wrote:
18.03.13, 9:27, Xiangrong Fang пишет:
I am sorry I didn't follow this thread although I am the OP :-). If
I understand correct, I would suggest NOT introduce the absolute
keyword, instead, make it ALWAYS absolute. i.e.:
with a = SomeObject, b =
On 29/03/2013 09:53, Jürgen Hestermann wrote:
[...]
To program nowadays it
already requires a lot of other things to learn (different OSs and
interfaces). I see no need to add even more to that by adding
features over and over again. Pascal was successful because it was
easy and clear. Now it
On 02/04/2013 13:18, Sven Barth wrote:
Am 02.04.2013 11:03, schrieb Lukasz Sokol:
[case in point: the try...[except]...[finally]...[except]...end; I
wrote about some time before]
Which reminds me: would you please be so kind to create a feature
request for this, so it won't be forgotten
On 02/04/2013 13:32, Lukasz Sokol wrote:
On 02/04/2013 13:18, Sven Barth wrote:
Am 02.04.2013 11:03, schrieb Lukasz Sokol:
[case in point: the try...[except]...[finally]...[except]...end; I
wrote about some time before]
Which reminds me: would you please be so kind to create a feature
On 02/04/2013 14:30, Sven Barth wrote:
Am 02.04.2013 15:14, schrieb Lukasz Sokol:
On 02/04/2013 13:32, Lukasz Sokol wrote:
On 02/04/2013 13:18, Sven Barth wrote:
Am 02.04.2013 11:03, schrieb Lukasz Sokol:
[case in point: the try...[except]...[finally]...[except]...end; I
wrote about some
On 27/04/2013 16:06, silvioprog wrote:
2013/4/27 Sven Barth pascaldra...@googlemail.com
mailto:pascaldra...@googlemail.com
On 26.04.2013 21:38, silvioprog wrote:
Select in socket of Delphi 2007 (a friend sent it to me:
http://www.sendspace.com/file/__06ev02
On 29/04/2013 11:04, Reinier Olislagers wrote:
On 29-4-2013 11:50, Lukasz Sokol wrote:
On 27/04/2013 16:06, silvioprog wrote:
2013/4/27 Sven Barth pascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org
mailto:pascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org
On 26.04.2013 21:38, silvioprog
On 29/04/2013 17:58, waldo kitty wrote:
On 4/29/2013 06:04, Reinier Olislagers wrote:
On 29-4-2013 11:50, Lukasz Sokol wrote:
On 27/04/2013 16:06, silvioprog wrote:
2013/4/27 Sven
Barthpascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org
mailto:pascaldragon-gM/ye1e23mwn+bqq9rb
On 18/10/2010 13:58, Frank Church wrote:
On 18 October 2010 07:49, Florian Klaempfl flor...@freepascal.org wrote:
[...]
No.
That is a rather emphatic no :).
Is there some performance or other related reason why it is a bad idea? I'm
not knowledgeable in this area but I'd like to
Hi faber,
well, even mathematically, it is sorta right... yes the sin(0)=0 but looking at
its graph,
it is a rising slope, so sin(x near to 0-) 0 :)
:)
L.
On 29/12/2010 10:03, faber wrote:
Hi,
according to docs/reference sin function should print 0.0 when
Writeln (Sin(Pi):0:1);
but,
Hi,
http://wiki.freepascal.org/linux/kernel/module_development has some
information, unfortunately after copy-pasting into relevant files,
and running
make
i get
fpc kernel_module
Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS:
Lukasz Sokol el.es.cr@... writes:
ah and sorry some clarifications :
- i posted using gmane web interface that forces me to wrap lines at 80 chars
manually
- what happens after: if I tell my system to
sudo insmod kernel_pmodule
results in
insmod: error inserting 'kernel_pmodule.ko': -1 Unknown
Henry Vermaak henry.vermaak@... writes:
On 15 January 2011 19:32, Lukasz Sokol el.es.cr@... wrote:
echo Run 'make oldconfig make prepare' on kernel src to
fix it.; \
Have you done this? It's required for building modules out of tree, iirc.
No but I have installed
Henry Vermaak henry.vermaak@... writes:
On 15 January 2011 19:48, Sven Barth pascaldragon@... wrote:
I might not be able to help you regarding this topic, but I believe that
you'll get a wall of use C, god damnit if you ask there :P
@Sven : it's for fun. Whether I'd be having fun is
Jonas Maebe jonas.maebe@... writes:
[16646.934537] kernel_pmodule: Unknown symbol unregister_chrdev
[16646.934835] kernel_pmodule: Unknown symbol proc_root
[16646.935174] kernel_pmodule: Unknown symbol register_chrdev
Since the Linux kernel breaks ABI compatibility on purpose all the
Hey,
take a look.
I've basically removed all the calls that were referring to creating, reading
and writing the procfs file.
Only left init_module and cleanup_module so I only left trivial Hello World and
Bye-bye messages.
In fact I think even that should be made par with current linux
Lukasz Sokol el.es.cr@... writes:
I have posted
http://pastebin.com/rM5GKB1q
which is the new version of http://pastebin.com/9D9ye7Pt.
This contains all 4 files needed for compilation, also moved the {$LINK } to the
kernel_module.pas (and also the printk() declaration moved there; Added some
Paul Breneman Paul2006@... writes:
This looks *very* interesting. I'd like to add it (with *big* red flags
and notes not to try it on a production PC) to this page:
http://www.turbocontrol.com/helloworld.htm
Yes please, you're welcome :) from my side no contradictions - you may like to
Lukasz Sokol el.es.cr@... writes:
I decided to put the result of my fiddling back onto the wiki
http://wiki.freepascal.org/linux/kernel/module_development as the pastebin
seems to have disappeared mysteriously.
Enjoy!
Lukasz
___
fpc-pascal
Lukasz Sokol el.es.cr@... writes:
Looks like kernel printk works with fpc varargs :
http://wiki.freepascal.org/linux/kernel/module_development#Enhancing_printk
Enjoy ;)
Lukasz
Enjoying enhancements one step at a time ;)
___
fpc-pascal maillist
On 25/02/2011 11:43, Jonas Maebe wrote:
On 25 Feb 2011, at 11:45, Ben wrote:
Op 2011-02-25 12:31, Jonas Maebe het geskryf:
It seems that it's licensed under Artistic License 1.0
(http://powtils.googlecode.com/svn/dev/LICENSE%20(powtils).txt),
nYume is not part of powtils. The nYume
On 20/03/2011 22:53, Bo Berglund wrote:
On Sun, 20 Mar 2011 19:47:28 +, Henry Vermaak
henry.verm...@gmail.com wrote:
What you seen hidapi?
http://www.signal11.us/oss/hidapi/
You will probably have to translate the headers.
Thanks, interesting read. I looked over what I thought would
Hi,
On 31/03/2011 10:06, Darius Blaszyk wrote:
This simplifies things quite a bit. Thanks for the hint. Here's a new patch,
I also added a fix for the command line options issue. Should be alright now.
All examples work fine on win32.
Darius
I haven't tried to run that yet, but, why
[THIS IS OFF TOPIC :) ]
linux init scripts in Pascal, anyone :)
L.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 08/05/2011 21:25, Bernd wrote:
Ok, I have looked at the example that was the slowest: 5 times slower than
gcc.
k-nucleitide:
http://shootout.alioth.debian.org/u32/benchmark.php?test=knucleotidelang=all
The C++ code is giving me headaches from only looking at it. I am
still not sure
On 09/05/2011 11:06, Lukasz Sokol wrote:
On 08/05/2011 21:25, Bernd wrote:
Ok, I have looked at the example that was the slowest: 5 times slower than
gcc.
k-nucleitide:
http://shootout.alioth.debian.org/u32/benchmark.php?test=knucleotidelang=all
The C++ code is giving me headaches from
On 04/07/2011 08:14, fred f wrote:
Hi all,
How can I execute an external program, but to let my code continue.
This doesn't work as I want and waits for finishing called app:
ExecuteProcess (MyPathToExe, ' ');
That would only work if you do
ExecuteProcess('/bin/bash -c
On 04/07/2011 18:05, Marco van de Voort wrote:
In our previous episode, Lukasz Sokol said:
ExecuteProcess('/bin/bash -c /my/path/to/exe '); //
(probably...?)
First, the binary name is always separate, there are minimal two
parameters.
You've snipped a ' :)' that was in the next line
On 26/07/2011 00:23, Paul Nicholls wrote:
I didn't know that freepascal handled binary formatted numbers?!?
%
cheers,
Paul
[pun]
yeah don't tell anyone, we don't want them to play games with pointers ;)
like the c-programmers do ;)
[/pun]
L.
On 04/07/2013 11:08, Dennis Poon wrote:
thanks. I am not using the fpc email as it seems off topic.
May I know the exact brand and model number of the adapter you used?
I have an ATEN usb-to-serial cable (UC-232A) but I am not sure how to
connect its serial pins to rs-485 's DIFFERENTIAL
On 04/07/2013 12:03, Michael Schnell wrote:
On 07/04/2013 12:52 PM, Lukasz Sokol wrote:
For RS485 adaptation, use a MAX232 like chip (to convert +-12 to
ttl) and then a RS485 transceiver chip;
If you want to create hardware anyway, better use a PIC24 (pr PIC32)
chip with USB plus a RS485
On 04/07/2013 16:24, Mark Morgan Lloyd wrote:
Lukasz Sokol wrote:
On 04/07/2013 12:03, Michael Schnell wrote:
On 07/04/2013 12:52 PM, Lukasz Sokol wrote:
For RS485 adaptation, use a MAX232 like chip (to convert +-12
to ttl) and then a RS485 transceiver chip;
If you want to create hardware
On 10/07/2013 13:38, Graeme Geldenhuys wrote:
On 2013-07-10 11:19, Tomas Hajny wrote:
Sure, but you can't select just any True Type fonts for console windows
(only Lucida is offered in WinXP;
And is so since Win95. Just amazing that Windows Console is so far
behind other platforms - it's
Hello,
I am making a Pascal wrapper for a library, which states in its API description:
Note that the Callback function will be called from an independent child
thread, not from the Applications Window thread. It should not therefore be
used to draw data directly to a Windows screen. The
On 08/08/13 11:52, Michael Schnell wrote:
On 08/08/2013 12:34 PM, Lukasz Sokol wrote:
Hello,
I am making a Pascal wrapper for a library, which states in its API
description:
Note that the Callback function will be called from an
independent child thread, not from the Applications
On 08/08/13 11:58, Henry Vermaak wrote:
On Thu, Aug 08, 2013 at 11:34:53AM +0100, Lukasz Sokol wrote:
This would be fine, IFF i was adding this to the main form of my
application... but I'm not. I'm trying to wrap this .dll in a
separate unit, only communicating to the form through a wrapper
On 08/08/13 12:31, Michael Schnell wrote:
On 08/08/2013 01:15 PM, Lukasz Sokol wrote:
but I would then need to make the wrapper object aware of the
Application or its forms then?
This is provided by Runtime Packages with Delphi.
Lazarus does not support Runtime packages (yet) so you
On 08/08/13 13:04, Michael Schnell wrote:
On 08/08/2013 01:42 PM, Lukasz Sokol wrote:
i see then, having a chain
(callback procedure) - MyObject.CallbackNotify - (processing callback
data) -
call a function within a form unit that does Application.QueueAsyncCall()
is really my best bet
On 09/08/13 08:28, Michael Schnell wrote:
On 08/08/2013 02:41 PM, Lukasz Sokol wrote:
Very well then, thanks :)
I suggest that - to exclude problems that might be imposed by some
external non-Lazarus and software not by yourself - you do a test
creating a combination of a Lazarus
On 10/09/13 16:35, Jürgen Hestermann wrote:
Am 2013-09-09 22:28, schrieb Tomas Hajny:
...and the issue is that at least some Windows API functions happily accept
such paths,
i.e. programs using such API functions accept them too.
If FPC RTL manages to translate a path accepted by Windows
On 18/09/13 17:48, Philippe wrote:
(first time I am using the mail list ... I may do it wrong!)
I have a quite big program (now with more than 200.000 lines), first
build with TP7. For example it accesses CGA memory through absolute
address ...
Years ago I moved to FPC. And it
On 20/09/13 19:49, Bart wrote:
On 9/20/13, Reinier Olislagers reinierolislag...@gmail.com wrote:
The question however becomes what is the
algorithm for deciding invalid characters which IMO will become a mess
very quickly. Much better to just consider the entire input as invalid.
Here's
On 23/09/13 17:18, Bart wrote:
On 9/23/13, Lukasz Sokol el.es...@gmail.com wrote:
function TryRomanToInt(AInput:String; out AResult: integer):boolean;
var i, Len, N, Np1 : integer;
[snip]
if N = Np1 then AResult := AResult + N
else AResult := AResult - N;
end
Hello,
since I have not found anything on CardDAV related/written in/for
FreePascal/Lazarus,
(haven't googled with Delphi keyword thou)
I'd like to send out some smoke signals, asking which way would the
support for this kind of interaction (dare not call it a protocol)
would be best fitting
On 25/09/13 14:56, Daniel Gaspary wrote:
On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol el.es...@gmail.com wrote:
Seems like the more complicated elements of DOM level 3 will need DOM.pas
modifications too.
What kind of modification ?
Uh, you got me - I don't know as I haven't started yet
On 25/09/13 16:00, Reinier Olislagers wrote:
On 25/09/2013 16:45, Lukasz Sokol wrote:
On 25/09/13 14:56, Daniel Gaspary wrote:
On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol
el.es.cr-re5jqeeqqe8avxtiumw...@public.gmane.org
wrote:
For now, I was merely asking, what direction the development
On 26/09/13 01:29, Daniel Gaspary wrote:
On Wed, Sep 25, 2013 at 12:22 PM, Lukasz Sokol el.es...@gmail.com wrote:
CalDAV itself is used on the CRM I use, but I've no demand for interacting
with it. Yet.*
I have just taken a look at the RFC* and it seems simple to implement.
I don't need
On 25/09/13 20:31, Michael Van Canneyt wrote:
On Wed, 25 Sep 2013, Lukasz Sokol wrote:
Hello,
[...]
But I'd like to know, if there is interest in making it 'more
sentient', e.g. as a TDataSource/TDataSet descendant directly
talking to (reading, at first) DOM.pas's TXMLDocument
On 26/09/13 11:00, Michael Van Canneyt wrote:
On Thu, 26 Sep 2013, Lukasz Sokol wrote:
I also do not see why you would need alterations to DOM.pas,
both WebDav and CardDav use plain and simple XML.
I merely based my assumption on DOM.pas comment stating level3 is
partially implemented
On 10/11/13 10:54, rambo waz here wrote:
at the moment i have a case where each choice leads off to a procedure. ..
looks like this
repeat
writeln('Main Menu');
writeln('1. New Customer Info');
writeln('2. Withdrawal');
writeln('3. Returns');
writeln('4. Money owed by
On 12/11/13 16:27, leledumbo wrote:
I have a feeling this 'returns' may be a keyword...
No, it is not, I believe. Reserved words are listed in the docs.
Yeah, I checked too, 'returns' isn't a keyword.
-ENOCRYSTALBALL but /maybe/ the 'returns' is declared 'under' the code in
question
so
On 05/12/13 14:42, Dennis Poon wrote:
While your method should work if that file actually exists, you
probably want to use libudev for enumerating and getting device
information from sysfs. libudev will also enable you to get
hotplug notification.
For your your reply. The fact is: 1)
On 26/12/13 12:13, Reinier Olislagers wrote:
On 26/12/2013 13:09, Dennis Poon wrote:
It seems possible in Java and C# but not in FPC.
Is there a way to combine them like
No.
Search the archives for proposals for syntax like this that didn't lead
to anything.
It did lead exactly to Sven
Hi,
'scue me if I did not catch something, but
On 13/01/14 12:13, Fred van Stappen wrote:
[...]
procedure InitLib(LibFile : PAnsiChar);
begin
LibHandle:=DynLibs.LoadLibrary(libfilename);
if LibHandle DynLibs.NilHandle then
Pointer(soundtouch_createInstance):=
On 13/01/14 13:36, Fred van Stappen wrote:
[...]
Hello Lucaz
/// why not just :
@soundtouch_createInstance := DynLibs.GetProcedureAddress(LibHandle,
PAnsiChar('soundtouch_createInstance'));
Get that error :
libSoundTouch.pas(56,5) Error: Can't assign values to an address
This
On 21/01/14 18:42, waldo kitty wrote:
On 1/21/2014 10:21 AM, Mattias Gaertner wrote:
On Tue, 21 Jan 2014 09:51:38 -0500
waldo kitty wkitt...@windstream.net wrote:
On 1/18/2014 7:40 PM, waldo kitty wrote:
what is the best method of coding a decision tree with options that have
three
On 22/01/14 21:23, waldo kitty wrote:
[...]
- associate the procedures (their pointers) to jump to with the
valid bit masks in a new data type (- do you REALLY have that many
procedures ? Or are they somewhat repeating themselves ?)
it will be only two procedures IF i can do it like that...
On 24/01/14 16:20, waldo kitty wrote:
On 1/23/2014 5:01 AM, Lukasz Sokol wrote:
Maybe Something like: (but this is with type TOptionMinMax =
[mmNone, mmMin,mmMinMax, mmMax])
i wanted to thank you, lukasz, for your input... it has made me take
another look while rewriting to implement your
1 - 100 of 169 matches
Mail list logo