Looping Backwards Through Events

2G wrote on 5/17/2004, 3:08 PM
What is the syntax for looping backwards through the events on a track (or any other enumeration) in JScript?

I've been digging around the jscript stuff on microsoft's site. But I can't find an exhaustive language ref with methods for the Enumerator class, etc. (my kingdom for a Java-based interface to V5... or at least some good JavaDoc equivalents for all of JScript)

2G

Comments

jetdv wrote on 5/17/2004, 4:55 PM
for (j=track.Events.Count - 1; j > 0; j--) {
ievnt = TrackEvent(track.Events[j]);

do stuff to ievnt here

}
2G wrote on 5/18/2004, 7:21 AM
Thank you. Very similar to what I would expect. But where do you find the method summary for all the base objects, such as lists, String, etc.?

Thanks again.
jetdv wrote on 5/18/2004, 8:36 AM
You mean the API docs? Try here:

http://www.ayizwe.net/VegasScripts/