Hello, Elan:

On 09-Mar-00, [EMAIL PROTECTED] wrote:

> One possibility would be:

> >> files: [%a %b %c %d %e %f %g %h %i %j]
> >> foreach [f-1 f-2 f-3 f-4 f-5] files [ 
>   print mold to string! 
>      reduce [f-1 "+" f-2 "+" f-3 "+" f-4 "+" f-5] ]

> which results in:

> "a+b+c+d+e"
> "f+g+h+i+j"

> Hope this helps,

What I ended up using was:

   FOREACH [f-1 f-2 f-3 f-4 f-5] files [ 
     portfolio: MOLD TO STRING!
     REDUCE [f-1 "+" f-2 "+" f-3 "+" f-4 "+" f-5]

When I do it this way, I get a string. That's what I told it to do.

This causes an error, and the page is returned minus the first and last (f-1 &
f-5) entries. When the quote marks are removed after copying the completed URL
into the brower, it works fine, so the quote marks are the problem.

   tmp: READ JOIN QAN-URL [ "?tick=" portfolio decimals ]

Hmm, this is the *same line* used elswhere in the program, which worked last
night. Am I missing something?

In what form can I get the above "string" without quotes, so that I can build
the URL properly?

-- 

                ---===///||| Donald Dalley |||\\\===---
                     The World of AmiBroker Support
                  http://webhome.idirect.com/~ddalley
                          UIN/ICQ#: 65203020

Reply via email to