Re: [fpc-pascal] class property accessor static

2017-02-07 Thread Paul Ishenin
I understand) to give access to private/protected static elements. -- Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiled resource file search path

2014-01-11 Thread Paul Ishenin
11.01.2014 18:27, denisgolovan wrote: Now the question to the compiler developers - will you accept my patch if I make .res to be searched in unit output directory (-FU)? Add a separate -F{Some character} switch for resource search. Best regards, Paul Ishenin

Re: [fpc-pascal] Namespaces Support

2013-10-23 Thread Paul Ishenin
l.org/FPC_New_Features_Trunk Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Namespaces Support

2013-10-23 Thread Paul Ishenin
/tdotunits3.pp http://svn.freepascal.org/svn/fpc/trunk/tests/test/tdotunits4.pp Or use google/yahoo/bing/yandex. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] [OT] sealed?

2013-10-08 Thread Paul Ishenin
st regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Parser bug or what?

2013-09-15 Thread Paul Ishenin
g/view.php?id=25029 Fixed in r25493. The fix also helped to find a bug in fpmake.pp which is used to compile a52 package. Thank you. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] fcl-res: using resource embedded in exe

2013-05-27 Thread Paul Ishenin
code to load forms data from resources. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fcl-res: using resource embedded in exe

2013-05-26 Thread Paul Ishenin
ource <> 0 then begin Stream := TResourceStream.Create(HInstance, 'SQLSCRIPT', RT_RCDATA); ... end; TResourceStream is available cross platform in classes.pas unit. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Compiler bug with managed type not being initialized correctly

2013-05-18 Thread Paul Ishenin
se you see something else please reply to this mail or to the bug tracker. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-18 Thread Paul Ishenin
token which can't be used in expressions. Which means replace '=>' in my example with some token (like ':' char or 'alias' word or anything else). And since 'as' can be used in expressions (with List as TStringList do) we should not use it.

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-17 Thread Paul Ishenin
> alias2, expression3, expression4 => alias4 do begin end; Where '=>' is some token which can't be used in expressions. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-17 Thread Paul Ishenin
We can use some new keyword or reuse some keyword which is not used in expressions. If I need to choose from 3, 4 and 5 I would use ':=' syntax because it more like to assignment: with a := TStringList.Create do begin Text := 'bla'; DoSomething(a); Free; end; Best regard

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-17 Thread Paul Ishenin
17.03.13, 18:25, Sven Barth пишет: With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ... Now THAT is really unpascalish... either ":=" or the already suggested "as"... Why? Constants and Types are also use '=' instead of ':=' for

Re: [fpc-pascal] Set size limit

2013-03-11 Thread Paul Ishenin
there... Maybe then it will be easier to implement compiler support using bitpacked arrays instead of creating so complex workarounds? Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/lis

Re: [fpc-pascal] Firebird embedded supported on Windows 64 by SEH patch

2013-03-09 Thread Paul Ishenin
? Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] [news] DA-Soft discontinues AnyDAC component suite

2013-02-05 Thread Paul Ishenin
regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: [news] DA-Soft discontinues AnyDAC component suite

2013-01-30 Thread Paul Ishenin
30.01.13, 20:25, leledumbo пишет: I wonder whether this "Great news" means they're developing something new or what... Or maybe become a part of Delphi? Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Testing set membership for unicode chars

2013-01-20 Thread Paul Ishenin
don't remember whether we have it in FPC at the moment. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Use of abstract classes

2013-01-09 Thread Paul Ishenin
09.01.13, 20:57, Michael Fuchs wrote: Am 08.01.2013 23:43, schrieb Paul Ishenin: What is the best way for a discussion on this? Should I create a feature request in bugtracker? First create a desired implementation with a patch. I would do it, if I only know where to start. Unfortunately

Re: [fpc-pascal] Use of abstract classes

2013-01-08 Thread Paul Ishenin
09.01.13, 6:26, Michael Fuchs пишет: What is the best way for a discussion on this? Should I create a feature request in bugtracker? First create a desired implementation with a patch. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Use of abstract classes

2013-01-08 Thread Paul Ishenin
will follow. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] class destructor not recognised

2013-01-06 Thread Paul Ishenin
07.01.13, 11:47, Jorge Aldo G. de F. Junior пишет: Are you SURE you need "class constructor" ? He needs it to initialize a class variable (static field). Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] class destructor not recognised

2013-01-06 Thread Paul Ishenin
to use a class destructor, or is this a bug? You don't understand. Class destructor is called automatically like finalization section of a unit. You can't call it directly. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Strings - suggestions

2012-12-22 Thread Paul Ishenin
22.12.12, 22:58, Martin Schreiber пишет: That was so in the beginning but Delphi later changed it. So a Delphi UnicodeString variable currently allways is utf-16 encoded. The same in FPC. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Class procedural type

2012-12-17 Thread Paul Ishenin
t class. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Paul Ishenin
Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] virtual class var?

2012-08-06 Thread Paul Ishenin
why should it be stored in vmt or near it? Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] virtual class var?

2012-08-06 Thread Paul Ishenin
implementation for that. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Unicode support

2012-05-17 Thread Paul Ishenin
moment. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Alternative to generic advanced records

2012-02-07 Thread Paul Ishenin
FPC trunk versions - there you can influence on what will be released. Btw, did you report about all found bugs in advanced records? I've fixed 3 related bugs and the fixes are in trunk. Best regards, Paul Ishenin ___ fpc-pascal maillist

Re: [fpc-pascal] Does FPC support fields which are only accessible from the object itself, eg. some kind of super private fields

2011-10-04 Thread Paul Ishenin
trict private" section type. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread Paul Ishenin
: 1. delphi does not support such declarations 2. we don't have a test for this kind of syntax So maybe we had a feature by accident? Should I restore that behavior? Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] Multiple enumerators per class

2011-09-16 Thread Paul Ishenin
each new. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Fatal error "Executable image size is too big for wince target"

2011-05-17 Thread Paul Ishenin
17.05.2011 22:10, Felipe Monteiro de Carvalho wrote: Does anyone know if we have our own internal linker to wince? It seams that yes, but I that's very strange for me. I thought that we have it only for x86-win32. We have it for all windows targets. Best regards, Paul Is

Re: [fpc-pascal] Generics feature status

2011-04-29 Thread Paul Ishenin
...; Then you can declare variables with any of that types. E.g. var L: TList; LI: TList; LIO: TList As I know Sven will work to support this and other missing generics features. Best regards, Paul Ishenin ___ fpc-pascal maillist -

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-14 Thread Paul Ishenin
which I stoped my work. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Paul Ishenin
13.04.2011 21:51, Sven Barth wrote: Would you mind if I'd try to continue/finish that work? Please do. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TMenu - barbreak Delphi Compatbility.

2011-04-12 Thread Paul Ishenin
play with TMenuItem.Handle and windows api in {$ifdef windows} block inside your application. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-11 Thread Paul Ishenin
ng at my free time I don't think it will be finished by me, so I will add a note there today. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Unit initialization on Android library

2011-02-12 Thread Paul Ishenin
12.02.2011 16:36, Dejan Boras wrote: I've got a library which runs on Android, and is loaded by a Java program. The INITIALIZATION sections of units do not seem to be called, is there a way to do this manually, or am I missing something? It must be done automatically but you can force it yours

Re: [fpc-pascal] fgl.TFPGMap

2011-01-20 Thread Paul Ishenin
:= PtrInt(a) < PtrInt(b); end; type TMyMap = specialize TFPGMap ; begin end. Please report this bug to the tracker. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Supports() only checks declared interfaces?

2011-01-06 Thread Paul Ishenin
TB = class(TInterfacedObject, IB)" ? TB is declared as it only implements IB. Or is my only choice to just declare "TB = class(TInterfacedObject, IA, IB)" ? Yes. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Supports() only checks declared interfaces?

2011-01-06 Thread Paul Ishenin
this a bug, and I should submit it? This is expected behavior. It works the same way as in delphi. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] error compiling lazarus

2011-01-02 Thread Paul Ishenin
02.01.2011 22:57, Benedikt Schindler wrote: hello, when i try to compile lazarus i get following error: [compiler crash] has anyone an idea what this could be? If the compiler version is from older than today please try to update and rebuild the compiler. Best regards, Paul Ishenin

Re: [fpc-pascal] Moving callbackfunctions to class

2011-01-01 Thread Paul Ishenin
31.12.2010 20:01, Darius Blaszyk wrote: On Dec 31, 2010, at 10:43 AM, Paul Ishenin wrote: 31.12.2010 7:53, Darius Blaszyk wrote: I installed 2.5.1 just to test if it was possible to use static class methods or not. Apparently not so it seems. It was a good try, but it failed. Thanks anyway

Re: [fpc-pascal] Moving callbackfunctions to class

2010-12-31 Thread Paul Ishenin
31.12.2010 7:53, Darius Blaszyk wrote: I installed 2.5.1 just to test if it was possible to use static class methods or not. Apparently not so it seems. It was a good try, but it failed. Thanks anyway for the help and explanation Jonas. Try {$mode delphi}. Best regards, Paul Ishenin

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Paul Ishenin
this has low priority for me. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Paul Ishenin
h to be able to compile rtti unit. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-10 Thread Paul Ishenin
this new mechanism (See Jonas' answer to my previous post, badly sent :-( ). But it might be possible to add this mechanism, by making patches to FPC. Yes. Would it interest somebody to have this new functionality? Yes. Best regards, Paul Ishenin _

Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Paul Ishenin
. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: variables in class, class variables and fields

2010-11-06 Thread Paul Ishenin
citly start a field section by "var" keyword. For example: TAClass = class private type TMyInt = type integer; var // this keyword is required here Field1: TMyInt; end; Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Re: variables in class, class variables and fields

2010-11-06 Thread Paul Ishenin
06.11.2010 21:39, ik wrote: But why class variables and not class fields ? What is the difference? "var" is already a reserved word. reserving a word "field" will cause more problems than using an already reserved word. Best r

Re: [fpc-pascal] Range checking in a for loop

2010-10-25 Thread Paul Ishenin
) as the lower bound and High(a) as the high bound. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TInterfacedObject memory management

2010-10-17 Thread Paul Ishenin
17.10.2010 21:31, Juha Manninen (gmail) wrote: program project1; {$mode objfpc}{$H+} uses Classes; var io: TInterfacedObject; begin io := TInterfacedObject.Create; end. Try the same but replace io type to IUnknown. Best regards, Paul Ishenin

Re: [fpc-pascal] How to include a Windows Version resource in a fpc compiled DLL?

2010-07-02 Thread Paul Ishenin
into your project {$R myres.res} you will have a dll with the version information. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to include a Windows Version resource in a fpc compiled DLL?

2010-07-02 Thread Paul Ishenin
sion information in it and Lazarus create a res file for you. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] For-in support in the next FPC release

2010-06-02 Thread Paul Ishenin
used by Lazarus only after the release. Before that we need to wait. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Reference Counting

2010-04-04 Thread Paul Ishenin
04.04.2010 22:53, Zaher Dirkey wrote: But he must use variable of interface to use TInterfacedObject not variable of TObject to take this advantage (if i am not wrong). You are not wrong. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] GetEnumerator on Generics

2010-03-01 Thread Paul Ishenin
d a GetEnumerator to those classes, but I'm unsure as to how to define the enumerator type. which needs to be a class that can hold a reference to the specialised generic container. If you look at fgl which is in trunk you will find one GetEnumerator implementation there. B

Re: [fpc-pascal] Component Writing Question For Lazarus

2010-02-04 Thread Paul Ishenin
ould do thin in Delphi. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Paul Ishenin
t i might need to make a property to read the TList of FFormList and check on each form to out if its the active form. ( not sure about this part ). You are searching the wrong object. Look at TScreen.ActiveForm / TScreen.ActiveCustomForm (as I remember). Best regards, Pau

Re: [fpc-pascal] RTTI Bug or something else i did wrong...

2010-01-15 Thread Paul Ishenin
constructor is raises an exception it calls a destructor. This is so because allocated memory needs to be freed. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC class syntax was extended to support delphi code

2010-01-14 Thread Paul Ishenin
Marc Weustink wrote: Can we have a virtual version too like described here http://hallvards.blogspot.com/2007/05/hack17-virtual-class-variables-part-i.html Well, I suppose we can if someone will implement ;) Best regards, Paul Ishenin. ___ fpc

Re: [fpc-pascal] FPC class syntax was extended to support delphi code

2010-01-13 Thread Paul Ishenin
can't do this because t_child.c duplicates t_parent.c. In Delphi mode you can do this. I have no personal opinion how ObjFpc mode should work here but this behavior is consistent with restrictions for identifier duplication we currently have in objfpc mode. e. Is it available in {$mode ob

Re: [fpc-pascal] FPC class syntax was extended to support delphi code

2010-01-13 Thread Paul Ishenin
dmitry boyarintsev wrote: Are these features available for {$mode delphi} only? No. For objfpc too. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC class syntax was extended to support delphi code

2010-01-13 Thread Paul Ishenin
o a class. 5. 'class property' - similar to regular property but works with static fields and methods Some examples: http://wiki.lazarus.freepascal.org/class_extensions_examples Please test and report bugs found. Best regards, Paul Ishenin. __

Re: [fpc-pascal] [OT] which editor - emacs?

2010-01-10 Thread Paul Ishenin
opment. This is very productive. I run one lazarus with my test project and one lazarus with the compiler. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Paul Ishenin
implemented in delphi. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Paul Ishenin
Jonas Maebe wrote: and other language changes such as closures etc. Unavailable (I don't think anyone is even working on that). What is this? Any document to read about 'closures'? Best regards, Paul Ishenin. ___ fpc-

Re: [fpc-pascal] Forum merger

2009-12-13 Thread Paul Ishenin
merge everything there :) Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Forum merger

2009-12-13 Thread Paul Ishenin
Florian Klaempfl wrote: Fine with me but is there a tool to merge the community site into the forum software used by lazarus? How the community site is built? Does it uses own made engine or some well known? Best regards, Paul Ishenin. ___ fpc

Re: [fpc-pascal] Re: [fpc-devel] Installing "fpc-2.4.0-0.rc1.src.rpm" to OpenSuse 11.2

2009-11-16 Thread Paul Ishenin
error message to help you Maybe I will ask later from Lazarus list indeed good decision. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus

2009-11-15 Thread Paul Ishenin
ect Lazarus. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Forin Test

2009-11-07 Thread Paul Ishenin
iteration variable If we ommit the 'in' keywork then it is not a 'for-in' loop, so I am not responsible :) Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Forin Test

2009-11-07 Thread Paul Ishenin
rd method, Should be good point to implement this (pascal always has very simple semantic and very strong type checking) Of course you then you can use any enumerator with any collection, but it will be better? How many errors we then invoke? Much less. Best r

Re: [fpc-pascal] Forin Test

2009-11-07 Thread Paul Ishenin
current implementation. It would not be required. If not used then it will work as now but if used then compiler will search for the given identifier and use it instead of operator/GetEnumerator method. Best regards, Paul Ishenin. ___ fpc-pascal maillist

Re: [fpc-pascal] Forin Test

2009-11-07 Thread Paul Ishenin
using GetEnumerator" Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Something I discovered using "Hint" directives.

2009-11-02 Thread Paul Ishenin
this, I am quite sure, is not the cause of the compile time error). Are these known issues? Have you tried with the trunk compiler? Last time I tried all 5 worked fine. The only thing is that the library directive showed no warning but this is

Re: [fpc-pascal] Missing functions in FPCMacOSAll.pas

2009-07-19 Thread Paul Ishenin
name '_FSMountServerVolumeSync'; It compiles and links but it crashes (access violation). What am I doing wrong? Is this only for Cocoa? How can I make it available? I think you foget to use correct calling conventon modifier. As I know you should use 'mwpascal' modifier.

Re: [fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Paul Ishenin
e(ErrorMsg) at get_caller_addr(get_frame) Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DirectFB for FPC beta tarball

2009-06-01 Thread Paul Ishenin
0) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x7fe74e2de000) There is some serious work to be done to make that reality :-) All that seriuos work is to turn off HasX define. gtk2 can be used on windows without any X. Best regards, Paul Ishenin. ___

Re: [fpc-pascal] DirectFB for FPC beta tarball

2009-06-01 Thread Paul Ishenin
n for example lazarus bug tracker and select gtk2 bug reports. You will have enough job for this time. Try to think whether lazarus need 10 widgetsets 30% ready or 3 widgetsets 100% ready? I would choose last. Best regards, Paul Ishenin. ___ fpc-pascal mai

Re: [fpc-pascal] could not compile lazarus "make[2]: *** [lazarus] Killed"

2009-04-15 Thread Paul Ishenin
to apply patch from here: http://bugs.freepascal.org/view.php?id=13323 Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpGUI Toolkit source repository migrated to Git

2009-04-07 Thread Paul Ishenin
t all other developers who need to update from your repository. Now they need to learn git and to install it on their systems. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/ma

Re: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

2009-04-02 Thread Paul Ishenin
Guru Kathiresan wrote: Hello, Today I have released a new product for Delphi and Freepascal – wxForms for Delphi. This is a Pascal wrapper for wxWidgets and a Form designer for Delphi. And what about design forms in Lazarus? Best regards, Paul Ishenin

Re: [fpc-pascal] Disposing pointers and memory leaks

2009-03-29 Thread Paul Ishenin
memory to which Cursor is pointing. Don't forget that it is pointing to the memory allocated by New anymore after that assignment. I suppose you need to remove both New and Dispose. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] cross platform version of IsCharAlpha()

2009-01-22 Thread Paul Ishenin
:= False; end; Anybody got a better Object Pascal version of IsCharAlpha() I can use and that we can add into Free Pascal? Here in http://svn.freepascal.org/svn/lazarus/trunk/components/jcf2/Utils/JcfStringUtils.pas I used the same code :) Best regards, Paul Ishenin. __

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Paul Ishenin
Paul Ishenin wrote: ... Other widgetset are not implemented there and graphic too. Read as "other widgets" (or other controls). Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Paul Ishenin
and graphic too. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-09 Thread Paul Ishenin
u look at LResources.pas you will see: {$IFDEF FPC_HAS_WINLIKERESOURCES} {$DEFINE UseRES} {$ENDIF} There you can also look how UseRES is used. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepa

Re: Summary on Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Paul Ishenin
string then you are responsibile for all problems you get. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal