I upload "map & vec" version.
I already wrote it but I hesitated to upload it since there
is one thing that I could not figure it out.
aliasmap[""] seems to be always created!
A bug of "Map" plugin? I'm not sure atm.
---------------------runbox.powerpro-------------------------
@cmdline
do("*Exec","CommandLine file history =aliasvec")
quit
@cmdhook
if(aliasmap[word(x0,1)])do
do(".@"++word(x0,1)++"(\""++replacechars
(remove(x0,length(word(x0,1))+1),",","\",\"")++"\")","")
if(select(x0,-1)!=" ")
x0=""
endif
quit
@cmdinput
local x0=InputDefault(x0,"PowerPro run","history =aliasvec")
if(aliasmap[word(x0,1)])do
do(".@"++word(x0,1)++"(\""++replacechars
(remove(x0,length(word(x0,1))+1),",","\",\"")++"\")","")
else
&(x0)
endif
quit
@cmdlists
local i sz
if(map.exists(aliasmap))
map.destroy(aliasmap)
if(vec.exists(aliasvec))
vec.destroy(aliasvec)
static aliasmap=map.create(200,0)
static aliasvec=vec.create(200,1)
for(i=1; ;i=i+1)
sz=readline(scriptfolder++"/"++scriptname++".powerpro",i)
if(pproflag 0)
break
if(select(sz,1)=="@")do
aliasmap[word(remove(sz,1),1)]=".@"++word(remove(sz,1),1)
aliasvec[vec.length(aliasvec)]=word(remove(sz,1),1)
endif
endfor
quit
-------------------------EOF---------------------------------
**** EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/