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

RE: [amibroker] Using Quotes in "Name()" + "WriteVal()" etc



PureBytes Links

Trading Reference Links




You 
have your "   and '  confused....... try.....

Title =<FONT color=#ff00ff 
face=Arial size=2>" ' " + <FONT 
color=#0000ff size=2>Name() + <FONT 
color=#ff00ff face=Arial size=2>" ' " 
+" \<FONT color=#ff00ff face=Arial 
size=2> LMT\<FONT color=#ff00ff 
face=Arial size=2> "<FONT color=#282828 
size=2> +"<FONT color=#ff00ff 
face=Arial size=2> "<FONT color=#282828 
face=Arial size=2> + <FONT 
color=#0000ff size=2>WriteVal(<FONT 
color=#000000 size=2>Close,<FONT 
color=#ff00ff size=2>1.2) <FONT 
color=#282828 face=Arial size=2>+ <FONT 
color=#ff00ff face=Arial size=2>" " 
+Date<FONT color=#282828 
size=2>();<FONT 
color=#282828 size=2><FONT color=#0000ff face=Arial 
size=2>Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Mr Valley 
[mailto:valleymj@xxxxxxxxx]Sent: Saturday, April 26, 2003 9:37 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
Using Quotes in "Name()" + "WriteVal()" etc

<SPAN 
>Title<FONT 
color=black face=Tahoma size=1><SPAN 
> =' 
<SPAN 
>" ' + Name() + ' 
"<SPAN 
> ' 
+<SPAN 
>"<SPAN 
>  \"<FONT color=black 
face=Tahoma size=1><SPAN 
>LMT\<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>""<FONT 
color=black face=Tahoma size=1><SPAN 
> +<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>", 
"<SPAN 
>+ <FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>"\"<FONT 
color=black face=Tahoma size=1><SPAN 
> <FONT 
color=blue face=Tahoma size=1><SPAN 
>WriteVal<FONT 
color=black face=Tahoma size=1><SPAN 
>(<SPAN 
>Close,FORMAT=<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>1.2<FONT 
color=black face=Tahoma size=1><SPAN 
>) \<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>", 
"<SPAN 
> + <FONT 
color=blue face=Tahoma size=1><SPAN 
>Date<FONT 
color=black face=Tahoma size=1><SPAN 
>();
<SPAN 
> 
<SPAN 
>Pops a syntax error&#8230; 

<SPAN 
>???????/
<SPAN 
> 
<SPAN 
> 
<SPAN 
>Mr 
Valley<FONT color=navy face=Arial 
size=2><SPAN 
>
<FONT color=navy face=Arial 
size=2><SPAN 
> 
<FONT color=black face=Tahoma 
size=2><SPAN 
>-----Original 
Message-----From: Bob Jagow 
[mailto:bjagow@xxxxxxxxxxx]<SPAN 
>Sent: Saturday, April 26, 2003 6:55 
PMTo: 
amibroker@xxxxxxxxxxxxxxx<SPAN 
>Subject: RE: [amibroker] Using Quotes in 
"Name()" + "WriteVal()" etc
<FONT face="Times New Roman" 
size=3><SPAN 
> 
<FONT color=navy 
face="Times New Roman" size=3>Did you 
try inserting the char directly instead of escaping  it?<FONT 
color=black><SPAN 
>
<FONT color=navy 
face="Times New Roman" size=3>That 
is, replace \" by  ' " '.<SPAN 
>
<FONT color=black 
face="Times New Roman" size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<FONT color=navy 
face="Times New Roman" size=3><SPAN 
>Bob<SPAN 
>
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=2><SPAN 
>-----Original 
Message-----From: Mr Valley 
[mailto:valleymj@xxxxxxxxx]<SPAN 
>Sent: Saturday, April 26, 2003 4:35 
PMTo: Amibroker<SPAN 
>Subject: [amibroker] Using Quotes in 
"Name()" + "WriteVal()" etc<SPAN 
>
<P class=MsoNormal 
><SPAN 
class=EmailStyle16><SPAN 
>How do I 
wrap the result of a function, in AFL, in quotes,<SPAN 
>  like the Symbol function Name() or 
WriteVal(Close)?
<P class=MsoNormal 
><SPAN 
class=EmailStyle16><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>Title<FONT 
color=black face=Tahoma size=1><SPAN 
> = <FONT 
color=blue face=Tahoma size=1><SPAN 
>Name<FONT 
color=black face=Tahoma size=1><SPAN 
>() + 
<SPAN 
>"<SPAN 
>  \"<FONT color=black 
face=Tahoma size=1><SPAN 
>LMT\<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>""<FONT 
color=black face=Tahoma size=1><SPAN 
> +<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>", 
"<SPAN 
>+ <FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>"\"<FONT 
color=black face=Tahoma size=1><SPAN 
> <FONT 
color=blue face=Tahoma size=1><SPAN 
>WriteVal<FONT 
color=black face=Tahoma size=1><SPAN 
>(<SPAN 
>Close,FORMAT=<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>1.2<FONT 
color=black face=Tahoma size=1><SPAN 
>) \<FONT 
color=fuchsia face=Tahoma size=1><SPAN 
>", 
"<SPAN 
> + <FONT 
color=blue face=Tahoma size=1><SPAN 
>Date<FONT 
color=black face=Tahoma size=1><SPAN 
>();
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>&#8220;\&#8221;<SPAN 
>   and<SPAN 
>   \&#8221;&#8221; does it for text, but not the 
result of a function
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>Doesn&#8217;t do 
it?
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>Any other 
suggestions?  Learn C++? 
<SPAN 
><SPAN 
>J<FONT 
color=black face=Tahoma size=1><SPAN 
>
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>Thanks in 
advance
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face=Tahoma size=1><SPAN 
>Mr. 
Valley
<P class=MsoNormal 
><SPAN 
class=EmailStyle16><SPAN 
> 
<P class=MsoNormal 
><FONT 
color=black face="Times New Roman" size=3><SPAN 
><FONT 
color=black face="Courier New" size=2><SPAN 
>Send BUG 
REPORTS to bugs@xxxxxxxxxxxxx<FONT color=black 
face="Courier New" size=2><SPAN 
>Send 
SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
color=black> <FONT 
color=black face="Courier New" size=2><SPAN 
>Your use of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. 
<SPAN 
>
<FONT color=black 
face="Times New Roman" size=3><BR 
><BR 
><FONT 
color=black><SPAN 
><FONT 
color=black face="Courier New" size=2><SPAN 
>Send BUG 
REPORTS to bugs@xxxxxxxxxxxxx<FONT color=black 
face="Courier New" size=2><SPAN 
>Send 
SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
color=black> <FONT 
color=black face="Courier New" size=2><SPAN 
>Your use of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. 
<SPAN 
>
Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.