ruby-****@sourc*****
ruby-****@sourc*****
2005年 8月 5日 (金) 13:53:55 JST
------------------------- REMOTE_ADDR = 15.211.169.100 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?tut-treeview-model-retrieve ------------------------- TITLE = tut-treeview-model-retrieve -> Retrieving Row Data ------------------------- @@ -26,4 +26,4 @@ printf("Row %s: %s %s, born %i\n", path.to_str, iter[0], iter[1], iter[2]); end -One thing worth pointing out: means that we need to free it once we are done with it; the second is that all fields of a row are set to a default nil value appropriate for the data type in question. A field of type Integer will contain the value 0 until it is set to a new value, and strings and all kind of pointer types will be nil until set to something else. Run the above program with an additional empty row and look at the output to see this in effect. \ No newline at end of file +One thing worth pointing out: means that we need to free it once we are done with it; the second is that all fields of a row are set to a default nil value appropriate for the data type in question. A field of type Integer will contain the value 0 until it is set to a new value, and strings and all kind of pointer types will be nil until set to something else. Run the above program with an additional empty row and look at the output to see this in effect.