Index: Frameworks/StepTalk/STScriptObject.m =================================================================== --- Frameworks/StepTalk/STScriptObject.m (revision 55) +++ Frameworks/StepTalk/STScriptObject.m (working copy) @@ -5,6 +5,7 @@ #import "STEngine.h" #import "STObjCRuntime.h" #import "NSInvocation+additions.h" +#import "STExterns.h" #import #import @@ -141,7 +142,11 @@ for(index = 2; index < count; index++) { arg = [invocation getArgumentAsObjectAtIndex:index]; - [args addObject:arg]; + if (arg == nil) { + [args addObject:STNil]; + } else { + [args addObject:arg]; + } } retval = [engine executeMethod:method Index: Languages/Smalltalk/STSmalltalkScriptObject.m =================================================================== --- Languages/Smalltalk/STSmalltalkScriptObject.m (revision 55) +++ Languages/Smalltalk/STSmalltalkScriptObject.m (working copy) @@ -154,7 +154,11 @@ for(index = 2; index < count; index++) { arg = [invocation getArgumentAsObjectAtIndex:index]; - [args addObject:arg]; + if (arg == nil) { + [args addObject:STNil]; + } else { + [args addObject:arg]; + } } // NSDebugLLog(@"STSending",