Announcement

Collapse
No announcement yet.

Clear/Empty an Array

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Clear/Empty an Array

    Hi,

    I have an array which need need to clear again at the end of an efs:

    vLowPrice = new Array(nLength);
    if (vLowPrice[nLength-1] != null) vLowPrice.pop();
    vLowPrice.unshift(vLowHLC3);

    Can somebody tell me how to clear this array ? Or any array for that matter ?

    Thanks

    Roger

  • #2
    I think I have cracked it, just re-declared it as a new array.

    Roger

    Comment

    Working...
    X