Richard.

..."Reliance on doMenu as a language design element also introduces 
inconsistencies:  what happens when you make your own custom menus and still 
need access to a command normally handled by doMenu?"...


I understand the exigencies of cross platform support. That said, I miss most 
of all the menu handling in HC, as opposed to the button group in LC.


The creation of a custom menu with associated menuMessages was clean and clear, 
and those menuMessages could be invoked via "doMenu", but did not require it. 
The menuMessage handler references were loaded upon menu creation, accessible 
like ordinary handlers with a simple call.


But you know all this. I am obviously misunderstanding your statement above. 


Craig



-----Original Message-----
From: Richard Gaskin <ambassa...@fourthworld.com>
To: use-livecode <use-livecode@lists.runrev.com>
Sent: Mon, Dec 8, 2014 6:11 pm
Subject: Re: DoMenu


Alain Farmer wrote:

 > Hello Richard,I disagree with your conclusion that DoMenu was
 > necessary in HyperCard because that language wasn't rich enough
 > to build an entire IDE in.

Did Apple ever release a version of HC with its IDE written in HyperTalk?


 > DoMenu was an integral part of HyperCard's ease-of learning-
 > to-program.One command (doMenu) versus many commands to learn/use
 > /remember.

I suppose it could be a matter of taste, whether one writes scripts that 
invoke menu items that invoke commands or writes scripts that invoke the 
commands directly.

Personally, "quit" seems simpler and more intuitive to me than "domenu 
quit".

Reliance on doMenu as a language design element also introduces 
inconsistencies:  what happens when you make your own custom menus and 
still need access to a command normally handled by doMenu?

Even if HC allowed that, it would seem odd (at least to me) to have to 
invoke a menu that doesn't exist.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to