Hi, I'm missing a simple selector.
I would like to check whether a character is a control character like Esc, an arrow or Character insert. Does there currently exist any better solution than testing [aChar asInteger < 32]?
Best,
Christoph
Check out the class methods in #Character in the category "accessing untypeable characters" and see if that will help you write the method you need.
-jrm
On Fri, Aug 9, 2019 at 4:31 PM Thiede, Christoph < Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:
Hi, I'm missing a simple selector.
I would like to check whether a character is a control character like Esc, an arrow or Character insert. Does there currently exist any better solution than testing [aChar asInteger < 32]?
Best,
Christoph _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org