Results 1 to 2 of 2
  1. #1

    Arrays in other units

    Here's a head scratcher.
    I am converting some test cases from purely procedural scripts to using classes.
    One of the class routines uses an array declared in another unit.
    From the unit with the classes I can interrogate the ArrayHighBound value of the array and use the Evaluate tool on it when stepping through the script, but when I try to interrogate the actual values in the array from any script in the classes unit, I get a "Variant Array Index out of bounds" error.

    Moving the declaration of the array into the classes unit solves the problem, but it has caused me a sleepless night!

  2. #2

    Re: Arrays in other units

    Hi bughunta,

    I'm really sorry for any inconvenience caused by this problem. It does exist in DelphiScript scripts for multi-dimensional arrays.
    Bobby Edgar
    Save on AutomatedQA Products



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:07 PM.

Copyright BetaSoft Inc.