From: di vi Date: 2010-02-19T16:26:35+09:00 Subject: Re: Global variables usage botp wrote: > On Fri, Feb 19, 2010 at 3:02 PM, di vi wrote: >> >> 2) to print the global variable (gprint.rb) >> >> Code: >> � �loop do >> � �puts $foo >> � �end > > where in this code (gprint.rb) does it say that you are accessing the > file var.rb ? > read on require and load... > > best regards -botp Load and require execute the complete program..I want only the value of global variables to change in the respective .rb file. -- Posted via http://www.ruby-forum.com/.