RosettaCodeData/Task/Associative-array-Creation/Harbour/associative-array-creation-2.harbour

4 lines
103 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
arr := hb_Hash( 10, "Val_10", "foo", "foovalue" )
// or
arr := { 10 => "Val_10", "foo" => "foovalue" }