Complex Dictionary Usage
daniva In this article we are about to see the efficiency of a dictionary when checking or retrieving values from a web-table, For this purpose we have the following table in our AUT.
daniva In this article we are about to see the efficiency of a dictionary when checking or retrieving values from a web-table, For this purpose we have the following table in our AUT.
Meir Bar-Tal Dear readers,
I wish to bring to your attention an updated version of a previous article on “A Tip for Beginners when Working with a Dictionary”.
Yours,
Meir
Yaron Assa This article will offer an improved version of the native Scripting.Dictionary object, and provide a step-by-step guid for building it.
Meir Bar-Tal When addressing a non-existing key in a Dictionary object, the add method is invoked by default. The problem is that the Windows Script Host does not inform during runtime that there is a missing key. Moreover, the automatically assigned Empty value may cause trouble to our subsequent code execution.
daniva Demonstration script that combines the usage of classes and dictionary object. Script must be run on the local computer.
Class Employee
Private fname,lname,m_id,m_city,m_country
Public Property Get FirstName()
FirstName = fname
End Property
Public Property Let FirstName( value […]
daniva Demonstration script that verifies the existence of a particular key within a Script Runtime Dictionary. Script must be run on the local computer.
daniva Demonstration script that counts the number of key-item pairs in a Script Runtime Dictionary. Script must be run on the local computer.
daniva Demonstration script that deletes a specific key-item pair from a Script Runtime Dictionary. Script must be run on the local computer.
daniva Demonstration script that deletes all the key-item pairs from a Script Runtime Dictionary. Script must be run on the local computer
daniva Demonstration script that adds three key-item pairs to a Script Runtime Dictionary. Script must be run on the local computer.
Recent Comments