Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timhall committed Oct 17, 2014
1 parent 3b212c5 commit b5ab3de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dictionary.cls
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' Dictionary v1.1.1
' Dictionary v1.2.0
' (c) Tim Hall - https://github.com/timhall/VBA-Dictionary
'
' Drop-in replacement for Scripting.Dictionary on Mac
Expand All @@ -23,7 +23,7 @@ Option Explicit
' Constants and Private Variables
' --------------------------------------------- '

#Const UseScriptingDictionaryIfAvailable = False
#Const UseScriptingDictionaryIfAvailable = True

#If Mac Or Not UseScriptingDictionaryIfAvailable Then

Expand Down
6 changes: 5 additions & 1 deletion readme.md
@@ -1,6 +1,6 @@
# VBA-Dictionary

VBA-Dictionary is a drop-in replacement for the useful and powerful `Scripting.Dictionary` on Mac. It is designed to be a precise replacement to `Scripting.Dictionary` including `Item` as the default property (`Dict("A") = Dict.Item("A")`), matching error codes, and matching methods and properties. If you find any implementation differences between `Scripting.Dictionary` and VBA-Dictionary, please [create an issue](https://github.com/timhall/VBA-Dictionary/issues/new).
VBA-Dictionary is a drop-in replacement for the useful and powerful `Scripting.Dictionary` so that it can be used with both Mac and Windows. It is designed to be a precise replacement to `Scripting.Dictionary` including `Item` as the default property (`Dict("A") = Dict.Item("A")`), matching error codes, and matching methods and properties. If you find any implementation differences between `Scripting.Dictionary` and VBA-Dictionary, please [create an issue](https://github.com/timhall/VBA-Dictionary/issues/new).

## Example

Expand Down Expand Up @@ -47,6 +47,10 @@ Dict("C") ' -> Empty

### Release Notes

#### 1.2.0

- Improve compatibility for empty Dictionary (`UBound` for empty `Keys` and `Items` is `-1` and can `For Each` over empty `Keys` and `Items`, matching `Scripting.Dictionary`)

#### 1.1.0

- Use compiler statements to use Scripting.Dictionary internally if available (improves Windows performance by ~3x)
Expand Down
Binary file modified specs/VBA-Dictionary - Specs.xlsm
Binary file not shown.

0 comments on commit b5ab3de

Please sign in to comment.