oops!
def myduck(x)
puts x + 4
end
sorry that was a bad example! Who’s POLS are we running with here anyway!
try this instead:
def myduck(x)
puts x.size
end
sorry, should have tested it first.
-t0
oops!
def myduck(x)
puts x + 4
end
sorry that was a bad example! Who’s POLS are we running with here anyway!
try this instead:
def myduck(x)
puts x.size
end
sorry, should have tested it first.
-t0
Ok,
I’ve got it compiling now and here is my next obstacle.
I tried:
I:\source\languages\ruby\source\ruby-1.8.1\ext\tcltklib>nmake
DESTDIR=I:\ruby install
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
and it worked. I got my tcltk.lib and tcltk.so file. I put them in:
I:\ruby\lib
I put the tcltk.rb file in: I:\ruby\lib\ruby\1.8
I cannot say: require ‘tk’
it outputs:
i:/ruby/lib/ruby/1.8/tk.rb:7:in require': No such file to load -- tcltklib (LoadError) from i:/ruby/lib/ruby/1.8/tk.rb:7 from deleteMe.rb:1:in
require’
from deleteMe.rb:1
Exit code: 1
Does anyone know of any other files i need in order to get tk to work.
Everything is compiled from
scratch so I am starting from the ground up.
My Development Stats:
-Windows 2000
-Ruby 1.8.1preview2
-Tcl/Tk 8.4.4
-Microsoft Visual Studio 6(i couldn’t get borland to find the tcl84.lib and
tk84.lib files)
Thanks,
Zach