I am a little confused because I write most of my programs in a script editor but not all the code executes unless I run it from the inneractive shell. Am I doing something wrong? A good example is "return 1" in a script returns nothing where as in the inneractive shell it will return 1 or true.