SIC is text string, try
AddtextColumn(GetExtraData("SIC"),"SIC");-- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2008/5/4 chuckitall59 <[EMAIL PROTECTED]>: > The AFL class dunce is still here and trying to work through this. > Thanks for your reply Ed, but when I insert this in Explore it > doesn't output anything. If I change anything I'm back to my error > message. > > All I want is to output the SIC number in Explore; seems so simple > but I'm really frustrated I can't make it work. What super simple > thing is this non-programmer missing?? > > Thanks again for any help. > > Chuck > > > --- In [email protected], "Edward Pottasch" <[EMAIL PROTECTED]> > wrote: > > > > > > hi, > > > > SIC returns a string, QRS an array: > > > > tst1 = GetExtraData("QRS"); > > tst2 = GetExtraData("SIC"); > > WriteVal(tst1); > > "" + tst2; > > > > > > rgds, ed > > > > > > > > > > ----- Original Message ----- > > From: chuckitall59 > > To: [email protected] > > Sent: Saturday, May 03, 2008 7:44 PM > > Subject: [amibroker] Why Can't I Retrieve SIC number? > > > > > > I'm sure there's something incredibly simple (and obvious to > someone else) I'm doing wrong here. My Explore command: AddColumn > (GetExtraData("SIC"),"SIC"); results in "Error 5, argument #1 has > incorrect type > > (the function expects a different argument here)" > > > > OK, so I change "SIC" to "QRS" and it works fine. > > > > So why can't I retrieve SIC numbers? I use QP with QP Plugin 1.6.0 > > > > TIA for any help. > > > > Chuck
