I like to use hash variables
oHash:cAccountNo
oHash:cAccountName
I had some problems and I just wanted to check.
Byron Hopp
Matrix Computer Services
I like to use hash variables
oHash:cAccountNo
oHash:cAccountName
I had some problems and I just wanted to check.
Thank you, I'll try that...
Can you pass this to functions in your Mod_Harbour code?
Thanks for the example with the Script, I have used in other places and it is great.
As far as using Hash Arrays with Mod_Harbour:
local aH := {=>}
Function Main()
aH[ 'cTime' ] := time()
aH[ 'dDate' ] := date()
aH[ 'nAge' ] := 123
?aH[ 'cTime' ]
?aH[ 'dDate' ]
?aH[ 'nAge' ]
Return nil
This works and Time, Date, and Age show in the browser window.
However should this work:
Function Main()
local aH := {=>}
aH[ 'cTime' ] := time()
aH[ 'dDate' ] := date()
aH[ 'nAge' ] := 123
TestHash( aH )
Return nil
Function TestHash( aH )
?aH[ 'cTime' ]
?aH[ 'cDate' ]
?aH[ 'nAge' ]
Return nil
I am having a problem with this, I am running on IIS.
Thanks,
Sorry to take your time. I must of stayed up way too late last night.
I could try to blame the corona virus, I bet that won't fly.
I am now happily using hash arrays in Mod_Harbour...