[comp.sys.apple2] Rez question

bmarlowe@bonnie.ics.uci.edu (Brett Marlowe) (06/02/90)

Hi out there y'all:

	Does anyone out there know how to specify a menu item without a key-
board equivelent in a REZ source file? I've tried specifying a blank entry but
it gives an error message such as expected string, but got ',' or badly formed
expression or something like that. I assume this is possible or at least it
should be :-)

Thanks,
Brett
--
-------------------------------------------------------------------------------
Brett Marlowe          bmarlowe@bonnie.ics.uci.edu     Apple // Forever!!
A senior in mathematics and Information & Computer Science at the University
of California, Irvine. I said it, so I'm responsible for it not them! So There!

dlyons@Apple.COM (David A. Lyons) (06/27/90)

In article <2667981A.20860@paris.ics.uci.edu> bmarlowe@bonnie.ics.uci.edu (Brett Marlowe) writes:
>
>Hi out there y'all:
>
>	Does anyone out there know how to specify a menu item without a key-
>board equivelent in a REZ source file? I've tried specifying a blank entry but
>it gives an error message such as expected string, but got ',' or badly formed
>expression or something like that. I assume this is possible or at least it
>should be :-)

Two double-quotes with nothing between them seems to work great for me:

resource rMenuItem(905,locked,fixed,preload) { 905, "F", "f", NIL, $8000, 905 };
resource rMenuItem(903,locked,fixed,preload) { 903, "",  "",  NIL, $8000, 903 };

-- 
David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II Developer Technical Support      |   P.O. Box 875
America Online: Dave Lyons                |   Cupertino, CA 95015-0875
GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons
   
My opinions are my own, not Apple's.