|
Tables for WideString?: msg#00077lang.smalltalk.squeak.beginners
Hello!!! I have problems with WideString. (realy not with WideString, but debugger brings me to this class). When I send #beginsWith: message to WideString, squeak invokes String>>beginsWith: and this method use String>>findSubstring:in:startingAt:matchTable: For String matchTables (AsciiOrder CaseInsensitiveOrder CaseSensitiveOrder) contains 256 bytes. So when invoked 'matchTable at: myWideChar asciiValue + 1' -- i get error -- 'subscript is out of bounds'. How to fix this? I must create my own huge tables for wide strings? And another question. From class definition for WideString 'String variableWordSubclass: #WideString' What means 'variableWordSubclass' and is it restrict me in some way, or I can ignore this? Thanks. Alex. _______________________________________________ Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Reminder: Smalltalk Party in Cagliari, Italy - July 1st 2006, Giovanni Corriga |
|---|---|
| Next by Date: | Re: self executable with squeak -- pause on startup, cdrick |
| Previous by Thread: | Reminder: Smalltalk Party in Cagliari, Italy - July 1st 2006, Giovanni Corriga |
| Next by Thread: | Re: Tables for WideString?, Yoshiki Ohshima |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |