|
Re: Passing arguments to squeak image: msg#00071lang.smalltalk.squeak.beginners
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Sorting, Mark Bailey |
|---|---|
| Next by Date: | Re: Passing arguments to squeak image, Bert Freudenberg |
| Previous by Thread: | Re: Passing arguments to squeak image, Bert Freudenberg |
| Next by Thread: | Re: Passing arguments to squeak image, Bert Freudenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |