On Thursday 17 May 2007 4:38 pm, Bert Freudenberg wrote: > You can pass an empty argument as first option after the image name > followed by your other arguments, or deactivate the launcher in your > image. squeak squeak.image /dev/null arg1 bag arg2 of arg3 of chips results in error[1]. But squeak squeak.image '' arg1 ..... and then printing "SmalltalkImage current extractParameters" gives: a Dictionary('ARG1'->'bag' 'ARG2'->'of' 'ARG3'->'chips' )
The first case fails because String>>unzipped doesn't check for isEmptyOrNil on self. With the patch: self isEmptyOrNil ifTrue: [^'']. the first line works as expected. Regards .. Subbu _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners