Hi Terry

Thanks very much for responding. I was able to fix the problem. The error in
the code was in the first line. It should have read as follows :-

SF_NAME="SF_"+Name();

Thanks once again.

Best Regards

Rakesh


On 1/23/07, Rakesh Sahgal <[EMAIL PROTECTED]> wrote:

I am in the process of setting up a database of single stock futures. I
have allocated tickers/symbols to the stock futures on the basis of the
symbols of the underlying along with the pre-fix "SF_" .

If for instance I wish to write an AFL that will compare the close price
of the underlying with the close price of the relevant SF how do I
manipluate the strings to get foreign function to look up the correct SF ? I
tried to make the code look up the futures price using the following code
but it does not work,even though I tried to check it for accuracy by
verifying the AFL syntax. It is obvious  that my code is incorrect. Any
pointers on how to correct this will be highly appreciated.

TIA


Rakesh


SF_NAME="SF_"+"Name()";
SF_CLS=Foreign("SF_NAME","C",1);

Reply via email to