Results 1 to 2 of 2
  1. #1

    How to destroy the user defined object

    I have my own class and after I get with the object of that class I want to destroy it.
    How do we destroy an object in 4test language? Any code will be helpfull.

  2. #2

    Re: How to destroy the user defined object

    When you're finished using the object, just set it to NULL to "delete" it.

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">wMyObject = NULL</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">This will free up the memory occupied by the object for use by SilkTest.

    - Jim



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:15 PM.

Copyright BetaSoft Inc.