View Single Post
Old 12-13-2011, 04:23 PM   #5
Mich
Human being with feelings
 
Join Date: May 2009
Posts: 1,265
Default

Quote:
Originally Posted by Erriez View Post
Can someone please update the outdated page below?
http://www.reaper.fm/sdk/js/js.php
Arrays are the basics of programming! (Sorry for my frustration about this)
What's outdated about the documentation?

Also grep for "array" in the documentation you will not find it. Because [] in JS designates a memory access and no array access. How the memory access works is clearly outlined in the documentation, no?

Just because JS uses squared brackets doesn't mean their semantic should be the same as in some other language! Squared brackets in JS access the memory at the position calculated from the value before the [] (the offset) plus the value within the [] (the index).

So in conclusion their is no array syntax in JS, hence no arrays.
__________________
Quote:
Originally Posted by vBulletin Message
Sorry pipelineaudio is a moderator/admin and you are not allowed to ignore him or her.
Mich is offline   Reply With Quote