ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Tcl-core
Tcl-core
RE: [TCLCORE] TIP #157: Argument Expansion with Leading {expand}
by Techentin, Robert W. other posts by this author
Sep 24 2003 1:34PM messages near this date
Re: [TCLCORE] TIP #157: Argument Expansion with Leading {expand} | [TCLCORE] ANNOUNCE: ActiveState Acquired by Sophos
>  > Wouldn't it be easier to try to solve the argument expansion
>  > problem as a list problem?  How about a list command which 
>  > expands sublists?  
>  
>  This has already been proposed, and the key issue is that it 
>  doesn't really simplify things.  You own solution does not 
>  significantly differ from some previous ideas for an 'expand' 
>  command.  I don't think this really improves on anything ...

My apologies, then.  I didn't recall a list solution, and re-reading TIPs
and several really long old c.l.t. threads yesterday led me to believe that
all the expand command proposals involved "expand-and-execute", and were not
merely list operations.  But its been a loooong discussion. :-)


>  
>  >   eval [lexpand button .b expand $stdargs -text $mytext -bd $border]
>  
>  and here you use 'expand'.  A mistake?  Unmentioned syntax?

Oops.  Mistake.  Should have been "sublist."  


>  >   eval [lexpand -flag EXPAND exec $prog EXPAND $opts1 EXPAND
>  > [getMoreopts] $file1 $file2]
>  
>  Ack, that's unfriendly looking.  

I agree.  The only similar "flag string" proposal I saw in old postings used
"+".  I thought that perhaps something like the (now more common) use of
"-> " in regexp might work, and be visually distinctive.  But if this really
does retrace old ground, I apologize for burning the bandwidth.

Good luck,
Bob
-- 
Bob Techentin                        techentin.robert@[...].edu 
Mayo Foundation                                 (507) 538-5495 
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/ 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved