revision 4 is at the link for revisions 2 3 and 4      is there separate links 
for revisions 2 and 3?
https://gist.github.com/rvk01/ac22d368b8d1f7d537cf0c67389bda20

i have revision2 but have made significant changes to it and would like a 
'virgin' copy and i never got revision 3
---

for revision 4 i had to do the following to get it to compile   (i am using 
-Mfpc      free pascal dialect (default))
(sorry my line numbers are not the original ones - i've added a lot of my own 
comments etc)

testmariadb4.pas(82,24) Fatal: Syntax error, ")" expected but ":=" found
type
enum_MYSQL_types = (
MYSQL_TYPE_INVALID := 243,      ->  MYSQL_TYPE_INVALID = 243,
and all others there also
--

the line      Buffer := Chr(Command) + SQL;  gives the following compiler error
testmariadb4.pas(487,26) Error: Incompatible type for arg no. 1: Got 
"MySqlCommands", expected "Byte"

so i changed it to
Buffer := Chr(byte(Command)) + SQL;

---

pretty nice code Rik thanks - very interesting development to follow with the 
different versions


_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to