by byron.hopp » Thu Mar 26, 2020 7:40 am
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,
Thanks,
Byron Hopp
Matrix Computer Services