the appropriate result. You can let Lazarus generate
them for you by declaring the property and pressing Ctrl+C while
cursor is on the same line with your property declaration.
--
Regards,
Vladimir Zhirov
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> by declaring the property and pressing Ctrl+C
Sorry, I meant Ctrl+Shift+C
--
Regards,
Vladimir Zhirov
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> Has anybody managed to play sound files under both Linux and Windows?
One more option I know of is Audorra (http://audorra.sourceforge.net/).
I have not used it though, so no idea about its advantages/drawbacks.
--
Regards,
Vladimir Zhirov
___
azarus. But in the above aspect it
seems not clear enough.
Would someone of the core team please comment on this?
Maybe subclassing deserves to be explained in some licensing
FAQ or even explicitly allowed in Modified LGPL itself?
--
Best regards,
Vladimir Zhirov
Hi,
Language Reference, Section 1.4 Identifiers says:
> Identifiers consist of between 1 and 127 significant characters
> (letters, digits and the underscore character), of which the
> first must be an alphanumeric character, or an underscore (_).
Should "alphanumeric" be "alphabetic" here? Sinc
Hi,
I'm trying to optimize my CSV parser class, and facing with a bit
unexpected results. I tried to change in-place set declaration
(if ch in [a, b, c] then ...) to reusable set constants
(if ch in ABCSet then ...), and noticed a slight slowdown.
To check it, I created a simple test application:
Marco van de Voort wrote:
> The FPC 2.4.4 release is available from our ftp-servers and
> sourceforge.
> ...
Good news, thanks.
http://freepascal.org/ still needs a minor fix: 2.4.2 should be
changed to 2.4.4 in the "Current Version" section.
___
fpc-p
Marco van de Voort wrote:
> Fixed, and some other details as well.
Sorry, I still see
"Version 2.4.2 is the latest stable version the Free Pascal."
(BTW, it seems "of" is also missing after "version").
I tried clearing the cache and viewing the page in two different
browsers, with no luck.
Co
Hi,
Reviewing a bunch of my string processing functions
made me wonder what integer type should I use for
position / length parameters.
I used to plain "Integer" for this task, but looking through
RTL and LCL code I noticed that sometimes SizeInt and
even PtrInt are also used:
- Length, Copy us
Andrew Pennebaker wrote:
> Thanks, the conditional execution code helps a lot. Does
> $IFDEF look for an environment or Makefile variable?
No, it looks for previously defined variables. You can define
variables using -dMyVar command line switch when running the
compiler, or {$DEFINE MyVar} in sour
Andrew Pennebaker wrote:
> thrice :: a -> [a]
> thrice x = [x, x, x]
> I know the answer involves generics, but the docs don't
> offer examples using Free Pascal's built-in generic types.
The solution would require generic functions, these are
implemented in FPC trunk only. In the latest release (
Sven Barth wrote:
> Generic functions are NOT implemented in trunk (at least as
> far as I know...).
Ouch, sorry. I read about "generic procedural types" at "New
features trunk" wiki page and thought it was what OP need.
Andrew, I apologize for misinformation and thanks Sven for
correcting me.
___
> Do other languages like python use the plain c interface, or
> C++?
> how about something like ruby, lua, objective C, php ..
AFAIK, Lua uses automatically generated plain C binding.
When I looked at it, the binding generator consisted of
the following parts:
1) A C++-based program to parse C++
Hi,
I've got a question about the license of unit avl_tree.pp, that comes
with FCL. FPC FAQ states that
> Applications created by the compiler and using the runtime library
> come under a modified library gnu public license (LGPL), which permit
> no restriction on the type of license the applicat
Thanks :)
Mattias Gaertner wrote:
> Maybe you should check other units too?
I think it is a good idea. When I searched the text
'General Public License' in FPC sources that comes
with Lazarus 0.9.24 I found 499 files that contain it.
___
fpc-pascal mai
Hi,
Would you please help me to find out the steps I should follow
to comply with LGPL if my application is built using FPC
and uses pascal source code of LGPL'ed library?
Section 4 of LGPL requires to
> d) Do one of the following:
> 0) Convey the Minimal Corresponding Source under the terms of
Tomas Hajny wrote:
> I believe that one of the ways would be compiling lgpled_lib.pas into a
> shared library/DLL and having it linked to your program dynamically,
> another solution would be providing interested users with all the required
> object files (*.o), libraries (.a) and a linker script.
Paul wrote:
> I'm testing with FPC/Lazrus on Windows now, but a simple program results in
> 11.5 MB size.
> I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
> (Lazarus), but the size is still the same.
> Anything else I should do?
Yes, you should also disable -gl option (Display
Hi,
I've got a question on how does "Supports" function work. Here is the
quote from the FPC docs:
> Check whether a class or given interface supports an interface.
> Supports checks whether Instance supports the interface identified by IID. It
> returns True
> if it is supported, False. Optiona
19 matches
Mail list logo