[fpc-pascal] Is there any benefit for a Delphi/Free Pascal/Lazarus programmer to build a C DLL in debug mode ?

2022-08-30 Thread Skybuck Flying via fpc-pascal
Is there any benefit for a Delphi or Free Pascal/Lazarus programmer to build a C DLL in debug mode ? Could it and would it somehow lead to better debugging ? If so how ? So far I don't notice any difference between debug or release build from within Delphi. Maybe Release/Debug in this case/cont

[fpc-pascal] Union field after property violates "field before property" rule + property of union field not possible.

2022-08-14 Thread Skybuck Flying via fpc-pascal
. Order of field and property violations "field before property" rule. (Both problems demonstrated in TDataExample3) { version 0.03 created on 14 august 2022 by Skybuck Flying: Today I remember the rule which this union field is conflicting with. The rule: "field before property"

[fpc-pascal] Union followed by Property does not compile !

2022-08-02 Thread Skybuck Flying via fpc-pascal
program TestProgram3; { Test program to illustrate the 'union' followed by property problem in Delphi language and Free Pascal Language version 0.01 created on 1 august 2022 by Skybuck Flying There is a problem with "unions" in Delphi language: When a property follows a &q

[fpc-pascal] UBER H3 API working/partially converted

2022-08-01 Thread Skybuck Flying via fpc-pascal
(I mainly write this second e-mail to prevent you from wasting time on the previous e-mail, cause the conversion was already quite successfull with a different tool, read below) The in Delphi written tool CHET was used to convert the C api for UBER H3 library. https://github.com/neslib/Chet [h

[fpc-pascal] Re: [fpc-devel] Should TObject or TComponent have a Comment property?

2013-07-11 Thread Skybuck Flying
User programmer can add it to Tobject via object helpers, at least in Delphi, so my answer to this question would be: no. From: vfclists . Sent: Thursday, 11 July 2013 22:22 To: Lazarus mailing list ; FPC developers' list ; FPC-Pascal users discussions Subject: [fpc-devel] Should TObject or TCo

[fpc-pascal] Re: [fpc-devel] Free Pascal 2.6.0rc1 released

2011-11-07 Thread Skybuck Flying
So FPC can now compile to java byte code. I don't even have Java installed on Windows because on Windows it's a security risk. Nice to see some more virtual instruction set support though. I'd like to see compile to redcode or compile to cuda/ptx ;) Also let me ask one question about "Delphi

[fpc-pascal] Free Pascal to Red Code.

2008-12-31 Thread Skybuck Flying
Free Pascal to Red Code compiling... Can it be done ? ;) Could make free pascal a little bit more interesting :) Bye, Skybuck :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi.

2008-12-21 Thread Skybuck Flying
I would like to bring to your attention this project: http://sourceforge.net/forum/forum.php?forum_id=365095 DWPL... it was quite impressive... it had a text gui which was compatible with Delphi... not sure if it's still compatible with Delphi 2007... probably not... maybe it has the same issu

Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi.

2008-12-19 Thread Skybuck Flying
- Original Message - From: "Florian Klaempfl" To: "FPC-Pascal users discussions" Sent: Thursday, December 18, 2008 12:10 PM Subject: Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi. Skybuck Flying schrieb: Hello, To make it easy for Delphi pro

[fpc-pascal] FreePascal/Lazarus plug-in's for Delphi.

2008-12-18 Thread Skybuck Flying
Hello, To make it easy for Delphi programmers to write code in Delphi and then switch to free pascal/lazarus the following could be done: 1. Export code from Free Pascal into Delphi packages so they can be installed in Delphi. 2. Export code from Lazarus into Delphi packages so they can be in

[fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
That didn't go well. Couldn't install package, the installer said. RTF can't be opened. So much for that. Bye, Skybuck. - Original Message - From: "Skybuck Flying" To: "FPC-Pascal users discussions" Sent: Sunday, December 14, 2008 11:25 PM

[fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
I suspect cross compiling not functional. I did find a free pascal compiler for Mac OS X so I ll give that one a try ;) This does require compiling inside a virtual machine which is less ideal/slow ? ;) And could expose source code but ok... net's disabled for now I hope ;) Bye, Skybuck.

[fpc-pascal] Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
Hello, 1. I start fp 2. I open file: program HelloWorldv2; {$mode delphi} begin writeln('Hello Free Pascal World !'); readln; end. 3. I tried to compile/build to "Darwin i386". 4. Error/compile screen says: Main file: Y:\..\helloworld\helloworldv2.pas Failed to compile...

Re: [fpc-pascal] Object Pascal operating system

2008-12-11 Thread Skybuck Flying
I'd say if whoever has enough drive to try something like this, simply start by implementing the kernel. Something relatively simple so that your PC can boot using a Object Pascal written kernel. No matter if there is no user interaction, shell or user level programs. Just show that you CAN write

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-06 Thread Skybuck Flying
Re: [fpc-pascal] Porting linux to pascal, would it be, possible ? Skybuck Flying schreef: If everybody does a little bit it could go quite quickly. Some (arbitrary numbers) from http://www.ohloh.net/p/linux: Codebase 10,679,927 lines Effort (est.) 3,396 Person Years So, if everybody on thi

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Skybuck Flying
If everybody does a little bit it could go quite quickly. Question is: Which linux distro ? ;) Maybe even some BSD version so that closed-source os-es could be done as well. Though I onced tried FreeBSD... I couldn't even figure out the gui or how to start an app.. So maybe linux more use

[fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Skybuck Flying
Hello, An open source pascal operating system could be cool. Would translating/porting linux to pascal be possible ? Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Skybuck ODE 0.09 available.

2008-03-21 Thread Skybuck Flying
Hello, Major productivity improvements with version 0.09: New features: + Automatic renaming of files/versions in unit/uses clausule. + Automatic cleanup Small new features: + Project file extensions added. Note: Versioning is not done for dcr's those need to be done manually ;) Free Down

[fpc-pascal] Skybuck's IDE version 0.08 is now available :)

2008-03-21 Thread Skybuck Flying
Hello, Skybuck's ODE version 0.08 is now available: http://cid-aedd0ea32d61bc86.skydrive.live.com/browse.aspx/Delphi New feature: Automatic versioning of filenames: Example: folder blablabla_version_001.pas bla_version_001.pas folder -> "increment file versions" Tada: folder blablabla_ver

Re: [fpc-pascal] Crypt++ 5.5.2 Tiger::Transform converted toDCPCrypt2.Compress, AV: Compiler Optimization Bug with SSE2 ? Or just programming bug ?HELP NEEDED :) ?!

2008-03-21 Thread Skybuck Flying
FPC needs to preserve ebx, esi and edi. So it's push ebx + push esi + push edi vs pushad. And same for pop. According to my AMD optimization manual. pushad requires 6 latency. push register requires 3 latency. So pushad should be faster. Bye, Skybuck.

Re: [fpc-pascal] Crypt++ 5.5.2 Tiger::Transform converted toDCPCrypt2.Compress, AV: Compiler Optimization Bug with SSE2 ? Or just programming bug ?HELP NEEDED :) ?!

2008-03-20 Thread Skybuck Flying
Ok, I already solved problem by using: pushad .. rest of asm ... popad However this might be slower than just a few pushes and pops ? So any slight performance improvements welcome, but I am already quite happy with this solution ! ;) Bye, Skybuck.

[fpc-pascal] Crypt++ 5.5.2 Tiger::Transform converted to DCPCrypt2.Compress, AV: Compiler Optimization Bug with SSE2 ? Or just programming bug ? HELP NEEDED :) ?!

2008-03-19 Thread Skybuck Flying
*} {* DEALINGS IN THE SOFTWARE. *} {**} { Optimized version 2.01 created on 18 march 2008 by Skybuck Flying ASM from Crypto++ 5.5.2 } interface uses Classes, Sysutils, DCPcrypt_version_201, DCPconst_version_201; type TDCPOptimizedTiger

[fpc-pascal] Hmm 64 bit instructions for visual studio 2008 slower than doubles too ?

2008-03-11 Thread Skybuck Flying
Hmmm. Visual Studio 2008 seems to produce even slower code for the True 64 bit integers. Also when I set it to release, something strange happens and it only take 7 ticks or so... while normally it takes 5 million ticks ? Weird. // Test64BitPerformance.cpp : Defines the entry point for the

[fpc-pascal] Int64: Cross Compiler 2.1.4 Beta for X64 does not produce faster executables ?

2008-03-11 Thread Skybuck Flying
ger (int64) vs native floating point (double) performance version 0.01 created on 7 february 2008 by Skybuck Flying My (Skybuck)'s Conclusions are: 1. Simulated ints faster for additions and subtractions than doubles. 2. Simulated ints slower for multiplications and divisions than do

Re: [fpc-pascal] Empty record inside another record ?

2008-03-01 Thread Skybuck Flying
- From: "Daniƫl Mantione" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Saturday, February 16, 2008 5:24 PM Subject: Re: [fpc-pascal] Empty record inside another record ? Op Fri, 15 Feb 2008, schreef Skybuck Flying: To me it seems like some kind of tr

Re: [fpc-pascal] Empty record inside another record ?

2008-02-24 Thread Skybuck Flying
Sent: Saturday, February 16, 2008 5:24 PM Subject: Re: [fpc-pascal] Empty record inside another record ? Op Fri, 15 Feb 2008, schreef Skybuck Flying: To me it seems like some kind of trick, to extend a record at runtime. The empty record field, functions as a sort of offset/label/poin

Re: [fpc-pascal] Empty record inside another record ?

2008-02-24 Thread Skybuck Flying
cal users discussions" Sent: Saturday, February 16, 2008 5:24 PM Subject: Re: [fpc-pascal] Empty record inside another record ? Op Fri, 15 Feb 2008, schreef Skybuck Flying: To me it seems like some kind of trick, to extend a record at runtime. The empty record field, functions as a sort

[fpc-pascal] Dependency on other tools ? (Spaces in path issue ?)

2008-02-20 Thread Skybuck Flying
Hello, I have come to the point where I want to add files to the search/unit path. I have spaces in my folders and the compiler fails to find the files. This raises some questions: 1. How independant is free pascal compiler ? What other tools does it depend on ? 2. What exactly happens when

Re: [fpc-pascal] Empty record inside another record ?

2008-02-20 Thread Skybuck Flying
In every language I know, words can have multiple meanings. The context in which the words are used determines their meaning. One possible reason could be because there is so much to describe that coming up with unique words might be impossible or inpractical. Bye, Skybuck. Skybuck

Re: [fpc-pascal] Empty record inside another record ?

2008-02-19 Thread Skybuck Flying
For records, I would use an extension field like: IP.Payload and UDP.Payload I would hardly call that obfuscation :) Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Empty record inside another record ?

2008-02-17 Thread Skybuck Flying
Well ok, I see one benefit of using objects so far. No extension field needed per record/object, makes the code less complex ;) Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp

Re: [fpc-pascal] Empty record inside another record ?

2008-02-17 Thread Skybuck Flying
What's the benefit of using objects ? One drawback of objects already discovered: Objects cannot have the same field identifiers. A problem that does not exist with records, and empty records. // object example, pointers and typecasts still necessary. program Project1; {$APPTYPE CONSOLE} us

[fpc-pascal] Empty record inside another record ?

2008-02-16 Thread Skybuck Flying
tuff and ask on free pascal compiler list, maybe they know something about this ;) I wonder if free pascal supports this trick as well ;) Bye, Skybuck. "Skybuck Flying" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, What's going on here: type

Re: [fpc-pascal] Compiler API specification

2008-02-15 Thread Skybuck Flying
How would you implement the specification ? Would it be possible to "simply" embed the complete compiler into a DLL ? Or would that make little sense ? Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.

[fpc-pascal] Compiler API specification

2008-02-14 Thread Skybuck Flying
Hello, Here is my idea for a compiler application programming interface (api) / specification: type // informs which file was tried by compiler, if successfull error text should be nil, else it should contain some kind of error messages TcompilerFileTriedCallback = procedure( FullFilename : P

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-13 Thread Skybuck Flying
Lol funny. Lot's of gui tweaks, it's *nice* :) That's the magic of Delphi :) Bye, Skybuck. Skybuck Flying ha scritto: Look in the subversion folder. Current version is 0.04 I gave a look. The only code I found there is: 94 procedure TForm1.FileListBox1Click(Sender:

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Look in the subversion folder. Current version is 0.04 Bye, Skybuck. Lazarus=waste of time for me. Well, I tried alternatives for Lazarus like e.g. this ODE thing : https://sourceforge.net/project/showfiles.php?group_id=217653 and they didn't even had a readily usable release. ___

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Lazarus=waste of time for me. Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Hello, My project called: Skybuck's ODE is getting off the ground :) The project's website, source code, collobaration support is located at: https://sourceforge.net/projects/skybuckode/ For now one type of job is available: Syntax highlighting based on SynEdit. More info is in the help foru

Re: [fpc-pascal] Interfacing with the free pascal compiler ?

2008-02-11 Thread Skybuck Flying
Ok, I will open source my little IDE so other people can help with it. Or use it in their own IDE. For now I am looking for: 1. A replacement for RichEdit which has syntax highlighting for pascal/delphi. Line numbers are a big plus. 2. Some help with a DLL/API interface/specification. For

Re: [fpc-pascal] Interfacing with the free pascal compiler ?

2008-02-11 Thread Skybuck Flying
Hello, Is there a special way to interface with the free pascal compiler, for example via a DLL/API ? Just use the compiler unit in your project. I want to develop the IDE in Delphi 2007. Is it still possible to interface via the compiler unit ??? Bye, Skybuck.

[fpc-pascal] Interfacing with the free pascal compiler ?

2008-02-11 Thread Skybuck Flying
Hello, Is there a special way to interface with the free pascal compiler, for example via a DLL/API ? Or is an IDE supposed to interface via the FPC executable, command line parameters, and input files and console output with possibly output re-direction to files or so ? For example, I bui

Re: [fpc-pascal] Free Pascal compiler/linker/debugger as aplug-in/replacement for Delphi compiler/linker/debugger

2008-02-11 Thread Skybuck Flying
Nothing to download yet ? Oh :( Bye, Skybuck. Then use it as a gateway to FPC :):):) look at the crossfpc project. It does exactly that. Simon Kissel is the head of that project. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepasc

Re: [fpc-pascal] Free Pascal compiler/linker/debugger as aplug-in/replacement for Delphi compiler/linker/debugger

2008-02-11 Thread Skybuck Flying
I don't like lazarus so much :) I like Delphi 2007 IDE much better :) Bye, Skybuck. What about Lazarus? -Marco ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Free Pascal compiler/linker/debugger as a plug-in/replacement for Delphi compiler/linker/debugger

2008-02-11 Thread Skybuck Flying
Hello, Delphi's compiler/linker is probably malfunctioning for uint64 types. It would be nice if free pascal compiler/linker/debugger can be used as a replacement. So that I can still use the Delphi IDE. To do that probably requires replacing some DLL. Maybe like: DCC.DLL or something like

Re: [fpc-pascal] Can you knock my socks off ? Canyou mimic Skybuck's/Delphi'sMajor Breakthrough for code path and memory structure selection ?

2008-02-11 Thread Skybuck Flying
Oh by I do listen. This mailing list has been most usefull to solving some of the problems :) Thanks people ! =D Bye, Skybuck ;) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-10 Thread Skybuck Flying
It's not really a problem so far it seems. Simply replace record with object and it will work and compile at least in Delphi. I haven't tried FPC yet... but if it wouldn't compile that would be amazing and a problem. None the less, the example remains interesting. It describes a general pr

Re: [fpc-pascal] Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-10 Thread Skybuck Flying
Ok, this morning I thought about it and maybe that will work. (I also just tried it, and it seems to work for now !) However what about the future, what if Tobject is dropped ? It probably will not happen because Tobject seems pretty important. Objects can have properties too. Only little rem

Re: [fpc-pascal] Re: Procedures in records not supported :(

2008-02-09 Thread Skybuck Flying
Outlook express in combination with hotmail. I see one big long list of messages all mixed etc. Anyway to put the messages into message-threads ? Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/ma

Re: [fpc-pascal] lul.pas does not compile with fpc 2.2.0

2008-02-09 Thread Skybuck Flying
Doesn't make much sense to me at least. Who still codes in 16 bit or turbo pascal ? 64 KB programs ? Terrible limitations. I am glad those days are dead/gone/over. Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lis

[fpc-pascal] Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-09 Thread Skybuck Flying
efinetly usuable and actually will increase the performance of my code ! NEAR ZERO PERFORMANCE HIT... Just need a read once and write once... LOVELY And can code it just once LOL LOVELY ! MAXIMUM COMPACTNESS NO GAPS LOVELY ;) // *** Begin of Code *** program ProjectSelectingStructureV6; {$A

[fpc-pascal] Properties in records not supported ! :(

2008-02-09 Thread Skybuck Flying
Hello, Delphi 2007 has another pretty handy new feature: "Properties in records". For example it's even possible to have index properties. Some that I could write code using the record like: myRecord.SomeField[SomeIndex] := 12345; then the property methods can place the value 12345 anywhere

Re: [fpc-pascal] Re: Procedures in records not supported :(

2008-02-09 Thread Skybuck Flying
mails make it very hard to follow a discussion ?!?? Bye, Skybuck. - Original Message - From: "Skybuck Flying" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Saturday, February 09, 2008 9:56 PM Subject: Re: [fpc-pascal] Re: Procedures in records

Re: [fpc-pascal] lul.pas does not compile with fpc 2.2.0

2008-02-09 Thread Skybuck Flying
Yeah, well, what exactly is the difference ? The guide doesn't explain. I assume free pascal does support the "class" keyword ? Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Re: Procedures in records not supported :( Object variable required but might work ?

2008-02-09 Thread Skybuck Flying
Hello, This fpc example seems to do more or less the same as the Delphi static class/record procedure example. Only extra requirement is to declare a object instance variable and use that to call the test routine. Less ideal. type TmyRecord = record A,B,C,D,E,F : integer; end; TmyObject

Re: [fpc-pascal] Re: Procedures in records not supported :(

2008-02-09 Thread Skybuck Flying
I must correct myself. The code supplied did not compile in Delphi as well. However a similiar design is possible in Delphi so I supplied a new example in a new posting... Anyway I will further explore what it takes to make the object work in fpc ;) Bye, Skybuck. __

Re: [fpc-pascal] static record (class?) procedures in records not supported :(, better example

2008-02-09 Thread Skybuck Flying
Hello, Delphi allows the following code to be compiled and run: // *** Begin of Demo *** program Project1; {$APPTYPE CONSOLE} uses SysUtils, Unit1 in 'Unit1.pas'; type TmyRecord = record A,B,C,D,E,F : integer; end; TmyObject = record A,B,C,D,E,F : integer; class procedure Test; stati

Re: [fpc-pascal] Re: Procedures in records not supported :(

2008-02-09 Thread Skybuck Flying
Not quite buster ! // *** Demo problem begin *** type TmyRecord = record A,B,C,D,E,F : integer; end; TmyObject = object A,B,C,D,E,F : integer; procedure Test; end; procedure TmyObject.Test; begin A := 5; end; begin writeln( SizeOf(TmyRecord) ); writeln( SizeOf(TmyObject) ); TmyObject.

Re: [fpc-pascal] lul.pas does not compile with fpc 2.2.0

2008-02-09 Thread Skybuck Flying
e with fpc 2.2.0 It's simple, you declared a prototype of a class, so you do not need to declare the entire structure of the class. type Tpenis = class; and that's it Ido On Feb 9, 2008 10:04 PM, Skybuck Flying <[EMAIL PROTECTED]> wrote: Hi, The following simple and v

[fpc-pascal] Procedures in records not supported :(

2008-02-09 Thread Skybuck Flying
Hello, Borland pulled a fast one on me ;) My most recent code uses the new feature "procedures in records". It seems fpc 2.2.0 does not support procedures in records. I was hoping fpc 2.2.0 could replace Delphi 2007 compiler because Delphi 2007 compiler is malfunctioning... I really like th

[fpc-pascal] Re: lul.pas does not compile with fpc 2.2.0 -Mdelphi solves it.

2008-02-09 Thread Skybuck Flying
Solved. fpc lul.pas -Mdelphi Works. fpc lul.pas -Mdelphi Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling lul.pas 15 lines compiled, 0.1 sec Kinda strange, fpc does not support class ? Wacky/weird. Oh w

[fpc-pascal] lul.pas does not compile with fpc 2.2.0

2008-02-09 Thread Skybuck Flying
Hi, The following simple and valid Delphi code does not compile with command: fpc lul.pas // *** Begin of Code *** unit lul; interface type Tpenis = class private public end; implementation end. // *** End of Code *** // *** Begin of Output *** fpc lul.pas Free Pascal Compiler versio

Re: [fpc-pascal] Notice: Possible copyright infringements in FPCcodebase

2007-11-21 Thread Skybuck Flying
007 om 01:33 uur [tijdzone +0100], schreef Skybuck Flying: Delphi Compiler is written in C/C++ ?!? (Closed source) VCL/RTL is written in Delphi ! (Open Source) No. The VCL is written in Object Pascal, yes. Last time I checked object pascal was really old and Delphi added new language featu

Re: [fpc-pascal] Notice: Possible copyright infringements in FPC codebase

2007-11-19 Thread Skybuck Flying
Delphi Compiler is written in C/C++ ?!? (Closed source) VCL/RTL is written in Delphi ! (Open Source) Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] type Ta = 1..10; var a : Ta; // a not initialized= crash

2007-09-22 Thread Skybuck Flying
Oh the version I reported was for the IDE. The compiler version is 2.0.4 Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] type Ta = 1..10; var a : Ta; // a not initialized = crash

2007-09-21 Thread Skybuck Flying
Hello, The following program compiled with free pascal 1.0.8 crashes: type Ta = 1..10; Tb = 1..5; var a : Ta; b : Tb; begin // a := 1; // uncommenting these lines leads to crash. // b := 2; a := b; writeln( a ); writeln('test'); readln; end. (Also tested it in Delphi 2007, does not c

Re: [fpc-pascal] Re: [lazarus] HelloWorld: gdb.exe crashes

2007-08-22 Thread Skybuck Flying
Delphi 2007 is not even beta, it's a bug, ripe to be squashed. Use tab characters and you don't need a code convertor. All you need to do is change tab widths to whatever you like. Mixing tabs with spaces might make a mess. Use tabs only is best. If somebody really made a mess of things then

Re: [fpc-pascal] GetMem should use out parameter ?

2007-08-22 Thread Skybuck Flying
Never mind. I see what the problem is. GetMem is actually a kind of (probably magical) wrapper around a memory manager. The real GetMem is a function which returns a pointer. As I already wrote, in Delphi an out of memory exception is raised. The result value is thus never returned, which i

[fpc-pascal] GetMem should use out parameter ?

2007-08-22 Thread Skybuck Flying
Hello, Does GetMem care about the memory contents of the pointer variable ? If not the parameter should be out instead of var to prevent the following hint message: GetMem( node, sizeof(Tnode) ); Y:\Free Pascal\Units\Technical\TnodeList\version 0.08 port to free pascal\unit_TnodeList_versi

Re: [fpc-pascal] Re: [lazarus] HelloWorld: gdb.exe crashes

2007-08-22 Thread Skybuck Flying
Lol, Please share if you really have something interesting to say. I have used all kinds of Delphi versions and Delphi 2007 is nearly unworkable for me for large projects. Otherwise I wouldn't even be on this list ! Bye, Skybuck. ___ fpc-pascal

Re: [fpc-pascal] Incorrect hint message ? ( Hint: Local variable "b"does not seem to be initialized" )

2007-08-22 Thread Skybuck Flying
Fair enough. Interesting "improvement" over Delphi. Though it's not much of an improvement ;) There are other hint messages which are interesting though ;) Another example: vByte := vLongint; // warning possible loss of data/range check error. I like compilers checking up on my code. Maybe

[fpc-pascal] Incorrect hint message ? ( Hint: Local variable "b" does not seem to be initialized" )

2007-08-21 Thread Skybuck Flying
Hello, The following hint message is displayed, which I doubt is correct which makes it interesting: "project1.lpr(21,5) Hint: Local variable "b" does not seem to be initialized" Unfortunately the debugger is not working on my system, Lazarus does not have a disassembly view so I can't see

[fpc-pascal] Re: [lazarus] HelloWorld: gdb.exe crashes

2007-08-21 Thread Skybuck Flying
Hello, 1. I also tried a gui application 2. I also tried using the gdb.exe with another fpc compiler install, which doesn't crash but nothing happens. FreePascal and Lazarus claim to be software development tools so far it's FUD. Ok that statement jumped the gun ;) I ran the generated exe

Re: [fpc-pascal] OT: Rename for Pascal

2007-08-12 Thread Skybuck Flying
igure out some ways to market FreePascal and Lazarus. We can start by extracting the subscription date of each user of our mailing lists (I don't know if it's possible). After that, it's easy to create statistics and take the corresponding actions. Leonardo. --- Skybuck Flying &l

Re: [fpc-pascal] OT: Rename for Pascal

2007-08-12 Thread Skybuck Flying
Well there are some things ofcourse wrong with Free Pascal: 1. First the name: "Free" Bussiness people don't believe in "Free". 2. Free Pascal Quality itself: When I see simple things not working like: Read or Readln or whatever, I run away screaming from Free Pascal ;) :) 3. It doesn't hav

Re: [fpc-pascal] OT: Rename for Pascal

2007-08-12 Thread Skybuck Flying
Here is a suggestion: Called it puma ! :) Like the animal on the website. Puma's are fast. And that's a big adventage of Pascal/Delphi it compiles lightning fast compared to C/C++ crap. Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@list

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: default switch generatesintel asm, ironic ? Can free pascal reverse engineer executables and dll's ?

2007-07-26 Thread Skybuck Flying
Maybe I do enjoy it, however the small is beautifull kit is for 32 bit windows programming. I really want 64 bit windows programming. So I guess it's not for me ;) Bye, Skybuck. - Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" S

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: default switch generates intel asm, ironic ? Can free pascal reverse engineer executables and dll's ?

2007-07-26 Thread Skybuck Flying
discussions" Sent: Thursday, July 26, 2007 10:51 AM Subject: Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: -Mdelphi not working ? On 26 Jul 2007, at 10:44, Skybuck Flying wrote: I just reinstalled fpc-2.1.4.x86_64-win64.exe: And this time I used the -Mdelphi compiler switch but it stil

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: Test := 9223372036854775807; and writeln does work... asm stuff does not work.

2007-07-26 Thread Skybuck Flying
Hello, I found this link explaining some difference between AT&T and intel asm syntax: http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-assembler/i386-syntax.html So I tried to add q behind mov maybe that was the problem... Kinda strange that mov is allowed to compile. Anyway

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: Problem with int64 ? or Problem with Large Decimal values in asm ?

2007-07-26 Thread Skybuck Flying
Hello, This is my first attempt at writing AT&T asm code and also 64 bit asm code: The output is supposed to be 2^64 - 1 but it displays 2^32-1. Did I program a bug ? Or is the compiler bugged ? Maybe writeln bugged ? What's wrong ? // *** Begin of Code *** program HelloWorld; {$mode delp

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: -Mdelphi not working ?

2007-07-26 Thread Skybuck Flying
- Original Message - From: "Michael Van Canneyt" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Thursday, July 26, 2007 11:50 AM Subject: Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: -Mdelphi not working ? On Thu, 26 Jul 2007, Skybuck F

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: -Mdelphi not working ?

2007-07-26 Thread Skybuck Flying
Ok, I just reinstalled fpc-2.1.4.x86_64-win64.exe: And this time I used the -Mdelphi compiler switch but it still gives problems: Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld.pas -Mdelphi HelloWorld.pas(9,10) Error: Unknown identifier "EAX" HelloWorld.pas(9,12) Error: Unknown identi

Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: Hello World program withASM, compilation aborted ? Error: Unknown identifier "EAX" ???

2007-07-26 Thread Skybuck Flying
Yes, but the default syntax is AT&T, not Intel. I assume you are coming from a Delphi background, so you can probably best solve this and many future issues you would otherwise encounter by adding {$mode delphi} at the top of all of your source files (or compile with - Mdelphi). Jonas

[fpc-pascal] fpc-2.1.4.x86_64-win64.exe: Hello World program with ASM, compilation aborted ? Error: Unknown identifier "EAX" ???

2007-07-26 Thread Skybuck Flying
Hello, I downloaded and installed: fpc-2.1.4.x86_64-win64.exe (beta) I wrote a little Hello World program to test the compiler: var test : int64; begin writeln('Hello Free Pascal World !'); asm mov eax, ecx end; writeln('Test: ', test ); readln; end. I get these errors: Y:\Free Pascal\T

[fpc-pascal] Where do the instructions start in the executable and/or dll ?

2007-07-25 Thread Skybuck Flying
Hello, I have a (64 bit) executable. I want to read the instructions directly from the executable. I assume this is possible ? I assume the instructions are not encrypted or otherwise "garbled" ? How can one figure out where the instructions start in the executable ? (The instruction byte e