Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Pushing items onto Array

$
0
0

How do you push items onto an array? The following throws an exception.

 

function ReadAllCribs() {
    var AllCribs = {};
    Project.Variables.Cribs.Reset();
    for (; !Project.Variables.Cribs.IsEOF() Smiley Wink {
        AllCribs.push(Project.Variables.Cribs.Value("CribNumber")); //<<< Exception

        Project.Variables.Cribs.Next();
    }

Viewing all articles
Browse latest Browse all 21061

Trending Articles