From: ts Date: 2001-07-17T20:21:26+09:00 Subject: [ruby-talk:17987] Re: RUBY C++ Extension >>>>> "=" == =?ISO-8859-1?Q?Bernhard Gl=FCck?= writes: => I used rb_load_file to load a script file and ruby_run to execute it, => however i found out that this always exists my programm. How do you => evalute some ruby script code from a file then ? ALso does the See rb_load_protect(VALUE fname, int wrap, int *state); => rb_funcall method call a CLASS Method or a CLASS INSTANCE Method ? The first argument, for example VALUE tt_arr = rb_funcall(rb_cArray, rb_intern("new"), 2, INT2NUM(3), INT2NUM(12)); VALUE tt_str = rb_funcall(tt_arr, rb_intern("inspect"), 0); Guy Decoux