Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!ai-lab!rice-chex!bson From: bson@rice-chex.ai.mit.edu (Jan Brittenson) Newsgroups: comp.sys.handhelds Subject: Re: Putting GROB's into the menu keys Message-ID: <14665@life.ai.mit.edu> Date: 4 Apr 91 23:52:05 GMT References: <68657@eerie.acsu.Buffalo.EDU> <14631@life.ai.mit.edu> <9613@mentor.cc.purdue.edu> Sender: news@ai.mit.edu Organization: nil Lines: 22 In a posting of [4 Apr 91 22:49:16 GMT] ahernsd@mentor.cc.purdue.edu (Dynastar) writes: > I don't know what an XLIB is, I don't suppose anyone could post > something about them? An XLIB is just any command or function, built-in or supplied by a library. So it means you can store the following in your CST variable: { { \->Q { << 100 DO\->Q >> } } } Which will result in a menu key with the label "->Q" but which will run << 100 DO->Q >>. BTW, this makes me wonder about one thing... What if a library with the number 2 is attached... I bet a number of system menus would have new labels. (This can be done by altering the library after it is attached.) -- Jan Brittenson bson@ai.mit.edu