Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP_HashTable issue in OpenInsight 10
We noticed an issue in OpenInsight10 with the SRP_HashTable function.
For the simple test subroutine below, array<1> is equal to array<2>.
Compile Subroutine Memory_test(null)
Declare function SRP_HashTable
array = ""
array<1> = SRP_HashTable("Create")
array<2> = SRP_HashTable("Create")
Return
array<1> = 3906927889508414001
array<2> = 3906927889508414001
If we change the code to the following, it works as expected.
Compile Subroutine Memory_test(null)
Declare function SRP_HashTable
hndl1 = SRP_HashTable("Create")
hndl2 = SRP_HashTable("Create")
array = ""
array<1> = hndl1
array<2> = hndl2
Return
Environment:
OpenInsight10.0.9.1
SRP Utilities 2.1.9.0
I would be interested in knowing if this is an issue with our installation.
Thank you,
Hank
For the simple test subroutine below, array<1> is equal to array<2>.
Compile Subroutine Memory_test(null)
Declare function SRP_HashTable
array = ""
array<1> = SRP_HashTable("Create")
array<2> = SRP_HashTable("Create")
Return
array<1> = 3906927889508414001
array<2> = 3906927889508414001
If we change the code to the following, it works as expected.
Compile Subroutine Memory_test(null)
Declare function SRP_HashTable
hndl1 = SRP_HashTable("Create")
hndl2 = SRP_HashTable("Create")
array = ""
array<1> = hndl1
array<2> = hndl2
Return
Environment:
OpenInsight10.0.9.1
SRP Utilities 2.1.9.0
I would be interested in knowing if this is an issue with our installation.
Thank you,
Hank
Comments