PureBytes Links
Trading Reference Links
|
Hello,
1. carriage returns - there should be no CR appended, but if you are getting one,
you can trim it using StrLeft function.
2. Obviously NoteSet operates on FILES (not on notepad window) - therefore your changes
are written to the FILE. If it happens that you have notepad open with the same symbol
that is just written by NoteSet, then Notepad editor will ask you if you want to save your edits
or accept changed file (following good UI-coding guidlines edits from GUI always have precedence
over machine)
it is by design behaviour described exactly in the read me:
NoteSet( "Symbol", "Text..." );
- sets text of the note linked to "symbol".
If symbol is "" (empty string) then current symbol is used.
=======================================================================
If you overwrite note from AFL level that is opened at the same time in Notepad editor the editor will ask you
(when you switch the focus to it) if it should reload new text or allow to save your manually entered text.
========================================================================
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "ronbo" <ronbo@xxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, July 10, 2004 9:00 PM
Subject: RE: [amibroker] How can i append the NotePad using NoteSet
> Thanks much for the help TJ..
>
> I tried this, except i did not have the ("") after the NoteGet. i thought
> since i already had the "" after the NoteSet, this is where it would go....i
> should have tried the whole thing before posting.
>
> it works fine, except is there a way to not get the carriage return?
>
> with your code as is, there is 2 carriage returns, without the \n there is
> 1. i would prefer none.
>
> i'm starting with a blank notepad when i begin my AA.
>
> And i notice if a stock is selected, nothing gets written to the Notepad.
>
> other than that--another GREAT invention of yours.... :)
>
> my code:
> if (LastValue(Buy) == 1)
> {
> CategoryAddSymbol("", categoryWatchlist, 3);
> NoteSet("",NoteGet("") + "B3,");
> }
>
>
>
> thanks again,
> ron
>
>
> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> Sent: Saturday, July 10, 2004 11:39 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Fw: [amibroker] How can i append the NotePad using NoteSet
>
>
> Hello,
>
> One correction:
>
> NoteSet( "", NoteGet("") + "\nYour text" );
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Tomasz Janeczko" <amibroker@xxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, July 10, 2004 8:38 PM
> Subject: Re: [amibroker] How can i append the NotePad using NoteSet
>
>
> > Hello,
> >
> >
> > To append use
> >
> > NoteSet( NoteGet() + "\nYour text" );
> >
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message -----
> > From: "ronbo" <ronbo@xxxxxxxxxxxxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Saturday, July 10, 2004 8:35 PM
> > Subject: [amibroker] How can i append the NotePad using NoteSet
> >
> >
> > > i want to keep the notes in the NotePad and add to them with a new note.
> > >
> > > how can i do that?
> > >
> > > i've tried the NoteGet, followed by the NoteSet, but NoteSet overwrites
> the
> > > new data.
> > > i'm probably doing something wrong--but i'm stuck.
> > >
> > > here is a portion of my code....
> > >
> > > if (LastValue(Buy) == 1)
> > > {
> > > CategoryAddSymbol("", categoryWatchlist, 3);
> > > NoteGet( "" );
> > > NoteSet("", "B3,");
> > > }
> > >
> > > thanks,
> > > ron
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.716 / Virus Database: 472 - Release Date: 7/5/2004
> > >
> > >
> > >
> > >
> > > Check AmiBroker web page at:
> > > http://www.amibroker.com/
> > >
> > > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.718 / Virus Database: 474 - Release Date: 7/9/2004
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.718 / Virus Database: 474 - Release Date: 7/9/2004
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|