On Mon, 20 Mar 2006, Bisma Jayadi wrote:

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) component in Lazarus LCL since TjanSQL has query ability. So, I started to convert it to FPC (Lazarus 0.9.13).

Unfortunately, I stucked at some assembler methods in janSQLStrings.pas (FPC failed to compile). :( Because I ain't an assembler nerd, I have no clues what does the methods do and what's the best way to convert it to FPC (replace it with compatible methods in FPC or rewrite object pascal version of the methods?). I want the convertion is written fully in object pascal in order the result can be used in all FPC-supported platforms, and performance (speed) is in the second cosideration.

Is there someone would like to help me here? I thank you in advance.

If you are referring to the posstr functions, try replacing them with
the PosEx() function in strutils.

Don't try to fix the assembler, it's highly dependend on how Delphi
generates it's assembler.


Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to