[fpc-pascal] string in variant array is cropped?

2005-05-25 Thread Bisma Jayadi
Hi all, I never playing around with variant using FPC before, until last night. :D Currently I'm using FPC 2.0.0 (downloaded from SF) on Pentium III with WinXP SP 2. I found a strange behavior of string in FPC variant array. Unfortunately, I hardly can find good enough informations about varia

Re: [fpc-pascal] generated exe file size

2005-05-25 Thread Bisma Jayadi
. -Bee- has Bee.ography at: http://beeography.modblog.com - Original Message - From: "Bisma Jayadi" <[EMAIL PROTECTED]> To: Sent: Thursday, 26 May 2005 10:27 Subject: [fpc-pascal] string in variant array is cropped? > Hi all, > > I never playing around with

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-28 Thread Bisma Jayadi
It's a great news to know FPC and Lazarus getting more and more popular and starting to be counted in serious software development. I'm really glad to hear and see this. :) I got few suggestions, especially to target more Delphi developers. 1. Maybe it'll better for public and new users to kno

[fpc-pascal] db2 connection component

2005-12-03 Thread Bisma Jayadi
Dear all, I'm currently trying to convert a Delphi database application which access an IBM DB2 database server through dbExpress component, onto Lazarus (FPC). I think the TxxxConnection database connection components have similar concept with dbExpress technology. But, the problem is I can

[fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Bisma Jayadi
Hi all... I'm currently developing a Lazarus application which need to read an XML file. In order to do such a task, FPC has provided DOM unit (dom.pp). But, it seems that dom.pp is unable to read XML element's (text) value. It succesfully read element's name (through NodeName property) and at

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Bisma Jayadi
ld be very helpful. Here's the complete XML file I was trying to read... 2005.01.20 12:26:58 2005.01.20 12:26:58 Operator bank Bisma Jayadi simba FB0woDvKVE4AFQW29a9E UPPTI.1 Komputer Bisma It was an XML-RPC

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
ML (DOM) component and a FPC DOM unit. I used to be a Delphi programmer, trying to migrate to be a Lazarus/FPC programmer. :) Here's the problem, using the XML I used. 2005.01.20 12:26:58 2005.01.20 12:26:58 Operator bank Bisma Jayadi

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
Can you improve the already existing article about XML on Lazarus documentation? I'll give it a try. Does it need some kind of approval from the wiki admin to submit an article? This way others witch try to use XML DOM on Free Pascal will benefit from your experience =P Yup... don't let ot

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
Note the spelling: != No, that's not it. It's just some mistypo errors when I paste the XML to the email. But, I'm sure the actual XML is correct. :) The problem has been solved anyway. :) -Bee- has Bee.ography at http://beeography.blogsome.com __

[fpc-pascal] OOT: Pascal (especially FPC) on Linux community

2006-01-25 Thread Bisma Jayadi
Hi all... Reading Linux community media (mostly lists and forums), I've seen that Pascal language is still considered as non-serious and toyish programming language. No wonder if Linux people hardly know about Pascal. Though they're already knew about it, the ignore it. Besides, Pascal they kn

[fpc-pascal] FPC game development (was: Pascal on Linux community)

2006-02-01 Thread Bisma Jayadi
I have a small domino card game. It was developed on Delphi (7) using my TDominoCard component (http://www.torry.net/quicksearchd.php?String=domino&Title=Yes). I plan to convert it to Lazarus. But, I don't know how to convert the TDominoCard component since Lazarus does not support .res file, w

[fpc-pascal] freereport and tiOPF

2006-02-24 Thread Bisma Jayadi
Dear all, Is there possible to convert Delphi code of FreeReport and tiOPF to FPC/Lazarus? Or are there any attempts done? Any hints will be appreciated. TIA. -Bee- has Bee.ography at http://beeography.blogsome.com ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] freereport and tiOPF

2006-03-03 Thread Bisma Jayadi
A very excellent news indeed! :D I'm very exciting to know that tiOPF has been run and compiled using FPC. I'll take a look at it soon. I think this also would be nice if mention on FPC/Lazarus wiki (contribution section?). Thank you for the great work. I believe the FPC community will really a

[fpc-pascal] opendelphi.org

2006-03-15 Thread Bisma Jayadi
http://delphi.org/ Very nice attempts, but -IMO- they're just wasting their time. :p Why don't they switch to and support FPC/Lazarus instead of doing that? :p -Bee- has Bee.ography at http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] opendelphi.org

2006-03-15 Thread Bisma Jayadi
> http://delphi.org/ Sorry... stupid mistypo. :P It should be: http://opendelphi.org/ :D -Bee- has Bee.ography at http://beeography.wordpress.com Bisma Jayadi wrote: Very nice attempts, but -IMO- they're just wasting their time. :p Why don't they switch to and support FPC/La

Re: [fpc-pascal] opendelphi.org

2006-03-15 Thread Bisma Jayadi
Delphi 2006 for Win32 also incorperates a lot of the innovations nade in Delphi.Net. .Net? Though I had suggested FPC to also implement some new Delphi language features which I think very usefull, but I agree with FPC core team that we don't need to support .Net yet. IMO, .Net is just a bus

[fpc-pascal] converting TjanSQL

2006-03-19 Thread Bisma Jayadi
Hi all... I found TjanSQL from http://jansfreeware.com. It's a small-text-based custom database component with SQL ability. The database itself is a comma separated value (csv) text file. I think this component is better than the TSDFDataSet (separated data file) or TFDFData (fixed data format

Re: [fpc-pascal] converting TjanSQL

2006-03-20 Thread Bisma Jayadi
If you are referring to the posstr functions, try replacing them with the PosEx() function in strutils. Finally, I succeed to compile TjanSQL class on Lazarus 0.9.13 (FPC 2.1.1 2006/03/10). These are what I did: - I've changed the PosStr() and PosText() functions in janSQLStrings unit with the

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
Turn on delphi mode for the package and/or add {$mode delphi} everywhere. (big chance that you have to change the @'s back). I just did this, turn on Delphi mode on every single unit. To make sure the class is compiled correctly, though I'd change them later to FPC_OBJFPC mode for better and c

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
FEParser.onGetVariable:=getvariable(); Not work. The same error message. :( -Bee- has Bee.ography at http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
> Can you give the whole error message ? FEParser.onGetVariable:=getvariable; C:\Trash\janSQL\components\janSQL.pas(462,40) Error: Incompatible type for arg no. 1: Got "TjanSQL.getvariable(TObject,const AnsiString,var Variant,var Boolean)", expected "ShortString,var Variant,var Boolean) of obj

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
You forgot the {$H+} in jansql: the strings are different. Stupid me! :D I missed the '$' in janSQL unit! :p I wrote {H+} instead of {$H+}. Never thought that kind of mistake. I've search hints from FPC docs for hours for more "intellegent" mistake. :D Problem solved! janSQL and the demo app

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
This is not true. FPC can usually use inline assembler written for delphi when {$mode delphi} and {$asmmode intel} is used. It probably is, though when I use these modes, FPC failed to compile TjanSQL class. I couldn't fix it ('cause I ain't an assembler expert). And I also don't want it's sol

Re: [fpc-pascal] converting TjanSQL

2006-03-21 Thread Bisma Jayadi
That's a good point ;) But at least for linux/i386 it should be enough. Since I knew FPC and the good feeling of knowing that my applications are able to run on more than 9 platforms, I prefer my applications at least can be run on 3 platforms, they are: win32-i386, linux-i386 (all distros), a

[fpc-pascal] Morfik is using FPC compiler

2006-03-24 Thread Bisma Jayadi
This is really amazing! Morfik is using FPC compiler to be able to target multiplatform! Have Morfik people contact FPC team about this? How can FPC didn't place any announcement about this? I'm getting more and more proud of FPC. This proves the maturity of FPC compiler. Congratulations to th

Re: [fpc-pascal] Morfik is using FPC compiler

2006-03-26 Thread Bisma Jayadi
Because we don't know about it. I've been keeping an eye on Morfik since quite some time, but I didn't know they use FPC. How did you find out ? If you create new project on Morfik Pascal, then select Tools | Options from main menu and in Option dialog box select Compiler tab. Then see items wi

Re: [fpc-pascal] Morfik is using FPC compiler

2006-03-27 Thread Bisma Jayadi
I installed morfik, but it doesn't work. It conflicts with my existing Firebird installation. Not a good start :-) It's easy to fix. You just need to change your Firebird listening port, because Morfik's Firebird setting seems unchangeable (fixed), CMIIW. I've tried it running on par with my F

Re: [fpc-pascal] Morfik is using FPC compiler

2006-03-27 Thread Bisma Jayadi
The problem is not only the port. It's that the gds32.ll in windows\system32 is the wrong version. The morfik executable checks the exact version number, it seems. If it detects a different version, it stops. Correct. Morfik uses the latest Firebird client library, FB v.2.0 Beta 1. I found no

Re: [fpc-pascal] Morfik is using FPC compiler

2006-03-28 Thread Bisma Jayadi
Because we don't know about it. I've been keeping an eye on Morfik since quite some time, but I didn't know they use FPC. How did you find out ? Content of "Release_Notes_0_8_6_5.txt" : Release notes for Morfik App

Re: [fpc-pascal] Morfik is using FPC compiler

2006-03-28 Thread Bisma Jayadi
Unfortunately, I had to remove the morfik from my PC. Too much conflicts with the existing firebird, and both the IDE and generated forms look totally wrong on my PC. And I do mean totally: everything is scaled wrong... It sounds strange to me. :( I've just install this newer version without any

Re: [fpc-pascal] x86_64-win64

2006-04-20 Thread Bisma Jayadi
People following the svn changes recently might have noticed that a lot of changes regarding win64 happened. So we're proud to announce the first x86_64-win64 snapshot which is also probably the first available OSS compiler for win64. Is there any publication page about this, on the wiki or fpc

Re: [fpc-pascal] rotating bits

2006-05-26 Thread Bisma Jayadi
That's the point why I want to include compiler support: rol/ror is very important for several cryptographic algorithms. Agree! Since these are very important and relatively commonly used, I think it'd be better if they're implemented as new operators ("ror" and "rol") rather than as functions

Re: [fpc-pascal] rotating bits

2006-05-26 Thread Bisma Jayadi
> Adding new operators is much more work and error prone than Agree. I never made a compiler, and I hope I won't, nor interested. :D I did make a simple SQL engine, though. AFAIK, adding a new operator, especially when a "similar" operator has existed before, wouldn't be too difficult. But, I

Re: [fpc-pascal] rotating bits

2006-05-26 Thread Bisma Jayadi
a := b ror c; x := y rol z; It would wreck havoc with typing. What should the result be of "1 ror 1"? $80? $8000? $8000? $8000? $8000 on 32 bit and $8000 on 64 bit cpus? I believe the compiler knows the datatype and make an appropriate rotate action based o

Re: [fpc-pascal] rotating bits

2006-05-27 Thread Bisma Jayadi
I agree with Michael. And I think the line is clearly drawn. The FPC (and more importantly the language syntax itself) design goal, as I understand it, is to be, as much as possible, platform and architecture independent and I believe the bit rotation support can be made platform and architec

[fpc-pascal] best way to execute external program

2006-08-09 Thread Bisma Jayadi
Hi all... What is the best approach to execute external program from within our own application, monitor the process, get the termination status, in multiplatform way? Is there a ShellExecute-like function in FPC/RTL but works on all platforms? Thank you in advance for any suggestions. -Bee-

Re: [fpc-pascal] Widget Sets, Lazarus, Graeme Project, FPC Win32

2006-08-19 Thread Bisma Jayadi
I've tried Lazarus in the past, and didn't have much success. And frankly it seemed Linux Specific. I know there were developers porting it, but I never saw a working Win32 Demo. Hello Jason, I wonder... where have you been lately? :D Of course Lazarus works great both on win32 and linux, and

[fpc-pascal] Delphi collaborates FPC?

2006-08-31 Thread Bisma Jayadi
http://blogs.borland.com/nickhodges/archive/2006/08/26/27022.aspx#FeedBack What do you think? :) -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/

[fpc-pascal] flag or exception?

2006-09-01 Thread Bisma Jayadi
Hi all... I've always been confused about this subject... flag or exception for error handling? Can anyone share knowledges and ideas about when and where and why a (pascal) developer should chose one over another? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com _

Re: [fpc-pascal] flag or exception?

2006-09-01 Thread Bisma Jayadi
Depends on taste, and they have both advantages and disadvantages. I've been googling for this subject, but so far I can't find any satisfying explanation about the advantages and disadvantages of each mechanism or a comprehensive comparison between the two. Any URL for this? TIA. -Bee- ha

Re: [fpc-pascal] fpdoc with UML output

2006-09-26 Thread Bisma Jayadi
Any thoughts on this? Currently I'm working on a generic diagram framework using Lazarus. I hope I can contribute it to Lazarus project. My first aim is to provide UML diagram for pascal code (just like ModelMaker in Delphi), hopefully can be integrated directly within Lazarus. But, because

Re: [fpc-pascal] .NET FAQ

2006-09-29 Thread Bisma Jayadi
Current text: There is nothing practical known yet about how portable an average .NET code will be. Little experiments with hello world level code mean nothing, that kind of code works with plain C too. Proposed text: There is nothing practical known yet about how portable an average .NET cod

Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)

2006-11-01 Thread Bisma Jayadi
Mmm... shiny. Maybe you should try Lazarus as well, a GUI-RAD based on Free Pascal (FPC). http://www.lazarus.freepascal.org/ If you're familiar with Delphi, you might thought Lazarus is a Delphi-like IDE for FPC. Lazarus is alot shinier than FPC's default text-mode IDE. ;) -Bee- has Bee.og

[fpc-pascal] even linus torvalds prefer pascal over c

2006-12-02 Thread Bisma Jayadi
http://kerneltrap.org/node/7434 Quoted: Linus concluded, "the C language has scoping rules for a reason. *If I wanted a language that didn't allow me to do anything wrong, I'd be using Pascal.* As it is, it turns out that things that 'look' wrong on a local level are often not wrong after all.

Re: [fpc-pascal] even linus torvalds prefer pascal over c

2006-12-02 Thread Bisma Jayadi
Alas, he doesn't. Linus Torvalds stronly disapproves of Pascal and this statement should be viewed in that context: he wants a language that does allow him to do anything wrong. Yeah, I understand. But as he mention this sentence... "If I wanted a language that didn't allow me to do anything w

Re: [fpc-pascal] even linus torvalds prefer pascal over c

2006-12-02 Thread Bisma Jayadi
* The statement is wrong, pascal allows you to do wrong things. You just need to use some typecasts (specially to pointer). We can do wrong things almost on anything. It's just the matter of (1) how we use it [properly] and (2) how it prevents misuse of itself. In this discussion, the point (1

Re: [fpc-pascal] even linus torvalds prefer pascal over c

2006-12-02 Thread Bisma Jayadi
And that's the power of this promoting material. A big pascal hater prefers pascal to do things right! :D What do you think about the wording I used in my blog: http://beeography.wordpress.com/2006/12/02/this-is-the-smart-guy/ How does it affect C programmers who read that? :D -Bee- has Bee.o

[fpc-pascal] Fwd: [PSP-DEVEL] help me solve read/ln feature of webtext

2007-01-15 Thread Bisma Jayadi
Original Message Subject: [PSP-DEVEL] help me solve read/ln feature of webtext Date: Mon, 15 Jan 2007 18:30:12 +0700 From: Bisma Jayadi <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: UPPTI Unibraw To: Milis PSP <[EMAIL PROTECTED]> Hi all, I'm

[fpc-pascal] opendbx for fpc?

2007-01-22 Thread Bisma Jayadi
Hi all, Is there somebody working on OpenDBX port to pascal? What do you think about this library? How about the comparison with Zeos and sqlDB? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@li

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Bisma Jayadi
Absolutly NO, but my problem is to have a reliable compiler to work properly, not to run after strange problems. It's completely non sense to blame your compiler before do some deep investigations upon your problem. Many people have used FPC to build dynamic libraries without problems and work

[fpc-pascal] sqldb firebird on linux can't find client lib

2007-02-15 Thread Bisma Jayadi
Hi all, I have a console FPC application which uses sqlDB to connect to Firebird 2, using TIBConnection, TSQLTransaction, and TSQLQuery. The application run very well on win32 (XP SP2 and FB2). Then I try to compile it on Linux (i386 FC4 and FB2), but the application failed to start with the f

Re: [fpc-pascal] sqldb firebird on linux can't find client lib

2007-02-15 Thread Bisma Jayadi
Run your application under 'strace' and send me the output, please. (Zip, please, because it can be rather big) Done. Please check your email. I've made the program to the most simplest shape just to produce the error, so it isn't too big and hopefully easier to analyze. For the help, I thank

Re: [fpc-pascal] sqldb firebird on linux can't find client lib

2007-02-15 Thread Bisma Jayadi
The fact that it still reports it as 'not loaded', I conclude that the dlopen operation failed. Why this would be so I cannot say. Could give me some examples what things that might cause dlopen operation fail? Have you (or somebody else) tried to use sqlDB to connect to FB 2.0? Because I neve

Re: [fpc-pascal] sqldb firebird on linux can't find client lib

2007-02-15 Thread Bisma Jayadi
The fact that it still reports it as 'not loaded', I conclude that the dlopen operation failed. Why this would be so I cannot say. Seems like some version incompatibility, because it again tries to load libm etc, when it has already loaded it. I use FB 1.5.4 and it works very well. So, I'm almos

Re: [fpc-pascal] sqldb firebird on linux can't find client lib

2007-02-20 Thread Bisma Jayadi
The fact that it still reports it as 'not loaded', I conclude that the dlopen operation failed. Why this would be so I cannot say. Has found any hints about this, Michael? I'm sorry, but I had to give up on this because there are many other parts of the project which are also need to be writte

Re: [fpc-pascal] CGI (with Free Pascal) vs PHP

2007-03-06 Thread Bisma Jayadi
If you where planning on writing a new online inventory system with a Firebird DB as backend. Yes that is what I'm about to do... What would be the best choice of language? Of course, Pascal! :) For one I don't know PHP, but was told it is really easy to learn. I know Object Pascal / Delphi v

Re: [fpc-pascal] CGI (with Free Pascal) vs PHP

2007-03-06 Thread Bisma Jayadi
Sorry if this sounds stupid, but what is the difference? Memory usage, threading, etc? I've only ever setup websites with Apache and written basic CGI apps. Is there a speed difference between CGI and PHP? Memory usage? Session information? For informations, comparison, and benchmark, visit ht

Re: [fpc-pascal] Simple drawing

2007-03-06 Thread Bisma Jayadi
Is the 'graph' unit a candidate for this (I remember it to be easily used from my Turbo Pascal days), or is there a better alternative? If you're considering compatibility with other pascal compilers (TP/BP, FPC, Delphi) then the graph unit is the best alternative since it's also available on

Re: [fpc-pascal] Simple drawing

2007-03-06 Thread Bisma Jayadi
Speed is not important. Does it work with X11? AFAIK, no. CMIIW. On Linux, it requires svgalib and root access. For more info about svgalib, please visit http://www.svgalib.org/jay/beginners_guide/beginners_guide.html -Bee- has Bee.ography at: http://beeography.wordpress.com

Re: [fpc-pascal] Simple drawing

2007-03-06 Thread Bisma Jayadi
The main problem with the graph unit is that basically no one is maintaining it currently. The poor performance is coupled to that, since a plugin for it which bases it on sdl or any other framework could be written. I think it's becaused not too much people need (direct) graphical console no

Re: [fpc-pascal] CGI (with Free Pascal) vs PHP

2007-03-06 Thread Bisma Jayadi
Now Pascal has its defficiencies in web programming too. CGI programming tends not to be very scalable, allthough it compensates by raw performance. The trouble is when databases come in, connection pooling is almost impossible to achieve with CGI. I'm not quite agree with this. CGI programmin

[fpc-pascal] Congratulations to FPC!

2007-03-25 Thread Bisma Jayadi
Hi all, After the awesome advanced image editor, Pixel at http://www.kanzelsberger.com. Now, FPC is officially used as backend compiler for another great product, Morfik at http://www.morfik.com. Congratulations! :) PS. Morfik's logo for FPC is nice. ;) -Bee- has Bee.ography at: http://beeo

Re: [fpc-pascal] Congratulations to FPC!

2007-03-26 Thread Bisma Jayadi
After the awesome advanced image editor, Pixel at http://www.kanzelsberger.com. Now, FPC is officially used as backend compiler for another great product, Morfik at http://www.morfik.com. Congratulations! We know about it. We cooperate with Morfik :-) I knew about it too as I'm a member of Mor

Re: [fpc-pascal] Congratulations to FPC!

2007-03-27 Thread Bisma Jayadi
1) On the home page, the Flash takes precedence over the drop-down menues, so only the first 2-3 items are visible. I use FF 1.5.0.11, all menues are fine. 2) On the download page, the size of the page doesn't adapt to the contents, so at least three of the text boxes show incomplete informati

Re: [fpc-pascal] Congratulations to FPC!

2007-03-27 Thread Bisma Jayadi
That should be logically the next step for me: porting the Morfik IDE to Lazarus :-) I even proposed a more "radical" solution for the next step: porting the Morfik IDE to a Morfik (web) app. ;) Yes, I know it sounds very hard to do but I believe it's very possible as browser technology is get

Re: [fpc-pascal] Congratulations to FPC!

2007-03-27 Thread Bisma Jayadi
You'd need a gigabit connection for that. There are far too many actions. Code completion for instance would take forever. I don't think so. I've seen an ajax application that performs a similar operation to code completion on the web (I use ADSL connection) and it performs very well. Though i

[fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
Writing device driver for windows using Delphi is almost impossible since Delphi can't produce .sys files. Is it the same case for FPC? Can FPC produce .sys file and write device drivers for any OSes (not just windows)? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com ___

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
Well. FPC can be used to write an operating system, so writing a device driver is in theory possible. Is there any tutorials or wikis or how-tos out there that describe how to write a device driver using FPC? At least for windows platform. TIA. -Bee- has Bee.ography at: http://beeography.wor

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
What kind of windows driver? First choose that. There are lot´s and lot´s of types of windows drivers. Device driver for a custom hardware connected through USB port. I´ve already seen a framework to write VXD drivers using Delphi, but that will be of no use if you don´t want a VxD but another

Re: [fpc-pascal] Freepascal Web Compiler

2007-04-22 Thread Bisma Jayadi
This is the first step in making our web utilitites easier to use for Mac/Windows users who want to compile Linux/BSD web programs on their server without any telnet/ssh/shell access. I'm dreaming of a web based pascal editor with syntax highlight. ;) But, I'm a no expert of JavaScript (and A

[fpc-pascal] gcc beats fpc again

2007-05-23 Thread Bisma Jayadi
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&xfullcpu=1&xmem=1&xloc=0&binarytrees=1&chameneos=1&message=1&fannkuch=1&fasta=1&knucleotide=1&mandelbrot=1&meteor=0&nbody=1&nsieve=1&nsievebits=1&partialsums=1&pidigits=1&recursive=1®exdna=0&revcomp=1&spectralnorm=1&hello=1&sumc

Re: [fpc-pascal] gcc beats fpc again

2007-05-23 Thread Bisma Jayadi
No C programs have been submitted recently. It is probably the new broken scoring system. Is Shootout using new scoring system? How did you know that? -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] gcc beats fpc again

2007-05-23 Thread Bisma Jayadi
favourite compiler/language, but largely irrelevant as far as comparing different compilers is concerned (and even more so as far as comparing different programming languages is concerned). Of course it's very relevant since they are all using same algorithms (please read http://shootout.aliot

[fpc-pascal] Indy10 and FPC

2007-05-28 Thread Bisma Jayadi
Hi all, I saw the latest beta release of Morfik has using Indy10. Since Morfik is using FPC for the backend compiler, does this mean that every Indy10 component is already in stable state for FPC? I ask this because the information at FPC wiki (http://wiki.lazarus.freepascal.org/index.php/Indy

[fpc-pascal] FPC's generics

2007-06-13 Thread Bisma Jayadi
Hi all, FPC uses 2 keywords for generics: "generic" for generic definition block, and "specialize" for generic type implementation. I think the "generic" keyword is quite redundant, useless, and too verbose since generics already use pair of <> to define a generics type. Generics definition sh

Re: [fpc-pascal] FPC's generics

2007-06-13 Thread Bisma Jayadi
type TRegularIntegerArray: array[0..100] of integer; TGenericArray: array[0..100] of T; var IntegerArrayFromGeneric = specialize TGenericArray; Yes, I know, the ':' and '=' usage is wrong, it's a mistypo. :-D Anyway, using my suggested generic syntax(es), it's allowed to specialize a ge

Re: [fpc-pascal] FPC's generics

2007-06-13 Thread Bisma Jayadi
I think it is useful, because it allows future language extensions to also use the <> syntax without conflicting with generics (e.g., the Objective Pascal draft syntax also makes use of angle brackets for a couple of things). Then my second syntax proposal might overcome possible conflict with

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
Thanks for the code. What example were you trying to compile? Didn't you create a package file for the component? Just give me a startingpoint No, I didn't do that far (create a package). Just to make sure first the component will be compiled by FPC 2.0.4. Sorry, I forgot to give you the exam

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
In that case, did you adapt the libgsf-1.so library name, or specify the directory where it can be found ? I'd had installed the required libs as mentioned in the source files and also the related libs as well. I believe I had specified the path too. But, maybe I have to make sure this again.

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
If you are referring to the treetron component, http://treetron.googlepages.com/ No, it's not. then you misunderstand it's design. I know. It's not going to work, since at the core of it is a binary library which uses the TMS component. Presumably FPC does not find the library, hence the l

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs here and there, finally FPC is able to compile it. But, I don't know why FPC fails to linking program (to executable) that uses

[fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
Hi all, I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs here and there, finally FPC is able to compile it. But, I don't know why FPC fails to linking program (to executable) t

Re: [fpc-pascal] converting flexcel to fpc

2007-08-11 Thread Bisma Jayadi
I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs here and there, finally FPC is able to compile it. But, I don't know why FPC fails to linking program (to executable) that uses

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

2007-08-12 Thread Bisma Jayadi
So I believe that if we will change the name, it might help. This kind of topic had been arised a few times. Basically I agree with this idea if it means we should change the name of the compiler, not the name of the language itself. We just can't change the language name, just like what Jon

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

2007-08-13 Thread Bisma Jayadi
But do not expect us to change our motivation. This is one of many reasons why I trust FPC over Delphi (Borland/CodeGear): the great and noble motivation of the core developers. I do respect such motivation. Not many developers are able to survive with such motivation. In many cases, such mot

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

2007-08-13 Thread Bisma Jayadi
This project is with a company that just spent 4+ million USD on a Java solution (client and server side) to replace all their old Pascal code, then, their clients told them they didn't like the Java solution, that they wanted to keep using the Pascal stuff! Isn't Java also free? :-P Oh, and

[fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Bisma Jayadi
Can we have fpc's doc in chm format? It's easier to navigate and search compare to other formats. :) -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Bisma Jayadi
The reference material: If you complete the chm backend of fpdoc, yes. The manuals: definitely out. Actually, the HTML is all fine. I just don't like to always back and forth between TOC and the content due its single page nature. It'd be better if the layout is change to 2 page/frame. Left fr

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-03 Thread Bisma Jayadi
I once made a chm from the html files, but the index generated by the help compiler was horrible. Agree. However, I was finally able to finish this job last night. It took me about 6 hours to re-arrange the index files, manually. For everyone who is interested, fpc docs in chm format can be do