Re: re-learning MIDISH

From: Alexandre Ratchov <alex_at_caoua.org>
Date: Sun Sep 05 2010 - 13:06:41 CEST
On Sat, Sep 04, 2010 at 08:48:13PM +0200, Alexandre Ratchov wrote:
> On Sat, Sep 04, 2010 at 09:58:40AM -0600, Kevin Utter wrote:
> > Hi all! I'm finally getting back to MIDISH, and I must say, there's
> > a lot of excellent functionality here! Thank you!
> > 
> > I'm having a little trouble understanding a few things.  Why do some
> > commands like "ls" "minfo" "tinfo" etc., give information when typed
> > as they are, while others like "tlist" "ilist" "gett" or "getf"
> > require "print?" For simpler typing, is it possible to set things up
> > so that "print" isn't required, or is there a concept about the
> > differences I should be understanding? Is that a situation for
> > defining my own procedures, perhaps?
> 
> hi
> 
> yes, the ``list'' commands and the getters are for scripting; ex.
> 
> 	for t in [tlist] {
> 		tmute $t
> 	}
> 
> but yes, you're right they could be useful on the command
> line. Perhaps the interpreter could be changed to print the value
> returned by the last function call.

this was a 3-line change, it's in.
Received on Sun, 5 Sep 2010 13:06:41 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:22 CET