PureBytes Links
Trading Reference Links
|
Hello,
You can try this:
if( IsNull( VarGet("Title") ) ) Title = "";
Title=Title+"something";
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Steve Dugas" <sjdugas@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 04, 2006 11:40 PM
Subject: Re: [amibroker] How to append to a TITLE ?
> Hello TJ,
>
> Using VarGet when Title is not previously defined, I get a "type mismatch"
> error when the new Title includes a string. For example:
>
> Title = VarGet( "Title" ) + "a string"; // type mismatch error if Title not
> defined.
>
> I tried to fix it by wrapping VarGet inside NumToStr
>
> Title = NumToStr( VarGet( "Title" ) ) + "a string";
>
> but now "{EMPTY}" is included in the title. I tried several different
> workarounds to get rid of it, but can't seem to find a way that works. Would
> you happen to know any way around this?
>
> Thanks very much!
>
> Steve
>
> ----- Original Message -----
> From: "Tomasz Janeczko" <amibroker@xxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, November 28, 2005 1:58 PM
> Subject: Re: [amibroker] How to append to a TITLE ?
>
>
>> Hello,
>>
>> You can use VarGet - it won't bomb out if variable is undefined.
>>
>> http://www.amibroker.com/f?varget
>>
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message -----
>> From: "ckinsey2003" <ckinsey2003@xxxxxxxxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Monday, November 28, 2005 7:25 PM
>> Subject: [amibroker] How to append to a TITLE ?
>>
>>
>>> If a TITLE exist TITLE = TITLE + "\nAppended text" works fine.
>>>
>>> But if no "TITLE" exist it bombs off since TITLE undefined.
>>>
>>> Checking for a "TITLE" ie IIF(TITLE = NULL causes the same problem.
>>>
>>> TIA, Jack Kinsey
>>>
>>>
>>>
>>>
>>>
>>>
>>> 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 other support material please check also:
>>> http://www.amibroker.com/support.html
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> 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 other support material please check also:
>> http://www.amibroker.com/support.html
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 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/
<*> 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/
|