Hi.
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> It's giving an error of "Undefined variable Autocomplete" with the 
text
> scenario I was running earlier (in msg
> http://groups.yahoo.com/group/power-pro/message/17391 ). 
> 
> I'm thinking that the arb is using a variable "AutoComplete" that is
> statically mapped, and inside powerpro you are using the variable
> "Autocomplete" for the different autocomplete options available 
with Input
> text etc. Maybe if arb wasn't using the variable with the name
> "Autocomplete" we wouldn't be having this clashing problem...as I 
think arb
> cleans up after itself, and clears the variable out from under 
powerpro.

I think the vector that is used for autocompletion by PowerPro should 
be a global one. Now AutoComplete is declared static at the start of 
the ARB-script and won't be found be the InputDefault then.

But:
I saw AutoComplete is also used after @Add in the script. When you 
start the script at @Add there is no static declaration for 
AutoComplete (it's only at the very beginning which is skipped in 
that case) that might be the mistake (you are using a global var 
then)...

Hmmm, wasn't there a problem with autocompletion not working at first 
start? Just a guess...

Also you should better check for vectors with
if (vec.exists(vectorname))
not only
if (vectorname)

Also:
Vec.Grow(AutoComplete, 1) 
is not necessary when you have 
Vec.CreateFromLines(Aliases ++ History, 1)
already.

best regards,

Dr. Wisenheimer






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->

****  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/
 

Reply via email to