[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:04021] Ruby and Interbase on Windows

From: Jilani Khaldi <jilanik@...>
Date: 2000-07-14 15:00:40 UTC
List: ruby-talk #4021
Hi,
why this code doesn't work?
The errore is: "No such file to load -- interbase <loaderror>"
Windows 2000 Prof. platform, Ruby 1.4.5 for Windows, and "interbase.dll"
in c:\ruby
#=====================================================
require 'interbase'
conn = InterBase::connect('c:\ibase\employee.gdb', 'sysdba',
'masterkey')
st = "select * from fornitori"
cursor = conn.execute(st)
cursor.each  do |record|
  p record[0],  "|", record[1], "|", record[2]
end
conn.commit
conn.close
==================================================
Thank you.

jilani




In This Thread

Prev Next