Doc. for Palm Module is very poor in english and some code is
obsolete…in http://www.threeweb.ad.jp/~nyasu/palmsync/examples.html
for example:
#!env ruby -I…/lib
require ‘palm’
pdb = PalmFile.open(“MemoDB.pdb”)
enumerating
pdb.each do |r|
memorecord = PalmMemo.interpret(r.contents)
puts memorecord.memo
end
indexing
r = pdb.get_record(3) # get record No.3
memorecord = PalmMemo.interpret(r.contents)
puts memorecord.memo
— PalmFile is no longer available…
I’m trying to write a Ruby script that will translate data in Palm-DB
and then into a MySQL database. . Does anyone have a useful code for
doing this?
Cheers,
Enrique Meza
//