Skip to content

Commit 8c98ee1

Browse files
authored
Update README.md
1 parent bdae694 commit 8c98ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faq_and_code/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ This code shows examples that work and don't work:
277277
study("alertcondition arguments")
278278
279279
// ————— These strings will not work.
280-
// The rsi() value can only be known at compile time and it is a "series",
280+
// The rsi() value can only be known at runtime time and it is a "series",
281281
// so "wrongMsgArg1" becomes a "series string".
282282
wrongMsgArg1 = "RSI value is:" + tostring( rsi(close, 14))
283283
// This does not work because although the result can be calculated at compile time,
284-
// "tostring()" returns an "simple string" (a.k.a. "string"),
284+
// "tostring()" returns a "simple string" (a.k.a. "string"),
285285
// and automatic casting rules do not allow for that type to be cast to "const string".
286286
wrongMsgArg2 = "Enter at: " + tostring(100.3)
287287
// This fails because the condition can only be evaluated at compile time,

0 commit comments

Comments
 (0)