At 10:45 AM 8/16/2002 -0700, John W. Bairen, Jr. wrote:
>my best shot at it is that the only function in curr.xml that does
>anything is curr().  i don't think the functions curr2() or
>autodetect_currency() do anything as they would have to be called from
>curr() and they are not.  i could be wrong here, but i don't think i am.
>
>try this... back up your current curr.xml.  remove the 2 functions
>(curr2() and autodetect_currency()) from the file.  save it and
>reload.  does it still work?

Nope; I can see that the only code that parses the "gbp>usd" is in 
autodetect_currency which calls curr2().

After a little more investigation, I've found that currency is magic; 
autodetect_currency is called directly from search.html, not invoked 
through the standard searches mechanism. Other operations that work this 
way are:
  - translations
  - URLs
  - phone numbers
  - math expressions

The searches "ia" and "ggc" are even more magic; ggc doesn't seem to be in 
the latest install, but it still gets exempted from the above magic.

All very curious....

  - Tim




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Dqsd-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to