[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Why Can't I Retrieve SIC number?



PureBytes Links

Trading Reference Links

SIC is text string, try
AddtextColumn(GetExtraData("SIC"),"SIC");

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com


2008/5/4 chuckitall59 <chuckitall59@xxxxxxxxxxx>:
> 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 amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx>
>  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: amibroker@xxxxxxxxxxxxxxx
>  >   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

------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/