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

[amibroker] Re: Negative volume from MS plug-in



PureBytes Links

Trading Reference Links

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 16 Apr 2004 14:27, mrdavis9 wrote:
> Thanks for the suggestions.  My builtin price chart has
> #include "C:\\program files\amibroker\afl\include\writeuponstock.afl";
>
> and I tried using
> #include "C:\program files\amibroker\afl\include\writeuponstock.afl",   
> and , Progra~1 , and neither of them worked.
>

Inside a quoted string the '\' (hereafter called a slosh*, to distinguish it 
from a slash '/') character is used as the indicator for an escape sequence.

An escape sequence allows you to insert characters that are hard to type, or 
invisible.

The most common sequences are
	\n	newline
	\t	tab
	\b	backspace
	\"	" (without indicating the end of the string).
	\\	the slosh character itself.

This means if you want to use a literal '\' in a quoted string, you must 
double it.

ie:
#include "C:\\program files\\amibroker\\afl\\include\\writeuponstock.afl";

Alternativly the #include statement (well actually the underlying windows 
system call) will allow you to use a '/'  (slash) as a path seperator in 
pathnames.

ie:
#include "C:/program files/amibroker/afl/include/writeuponstock.afl";


- -- 
	Nigel Rowe
	rho@xxxxxxxxxxxxxxx

* Yes, I know 'back-slash' is more common, but try saying

	C:\\program files\\amibroker\\afl\\include\\writeuponstock.afl

*ALOUD* without tripping over your tounge


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAf2yABbmcM2pfckkRAi0SAJ48Bz48r1YYkmRES6T7WAOUiIxZKwCgh0qY
qPitfAKfJq9/Ry7oq+heA3E=
=aRJQ
-----END PGP SIGNATURE-----



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/