How to use arguments in script show on bar?

"chunwaihome-/[email protected] [power-pro]" <[email protected]>
Newsgroups gmane.comp.windows.power-pro
Message-ID <[email protected]>
Hello,
 

 1) My bar show information *info expr(.scriptFile@ambi_fullname)  or *info expr(.scriptFile@ambi_address ) from the following script. It works, but I would like to shorten it using arguments. I have tried but there is an error.
 

 function ambi_fullname()
 com.error_dialog_off()
 local AB = com.create_object("Broker.Application")

 local Name = AB.ActiveDocument.Name
 local st =AB.Stocks(Name)
 quit(st.fullname)

 quit
 function ambi_address()
 com.error_dialog_off()
 local AB = com.create_object("Broker.Application")

 local Name = AB.ActiveDocument.Name
 local st =AB.Stocks(Name)
 quit(st.address)

 
 quit
 

 2) Another question is that anyone have com plugin 0.72 version. I want to connect mysql through ODBC .
   odbcplugin0.72  I have tried , it seem not work in windows 7.
 

 thx in advance
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.