128
edits
(→fetchvar: Corrected return type and example) |
(→fetchvar: Merged examples) |
||
Line 208: | Line 208: | ||
Returns the variable given as an argument. | Returns the variable given as an argument. | ||
Example: | |||
@test1 = "Hi!"; | @test1 = "Hi!"; | ||
fetchvar("@test" + 1); // Returns "Hi!" | fetchvar("@test" + 1); // Returns "Hi!" | ||
@test2 = 1; | @test2 = 1; | ||
fetchvar("$latestwatched_id" + @test2 + "_aname"); | fetchvar("$latestwatched_id" + @test2 + "_aname"); |
edits