Content deleted Content added
add reference for OS/2 support |
→Built-in data types: Fixed hash syntax example |
||
Line 118:
* Array: <syntaxhighlight lang=visualfoxpro inline>{ "String", 1, { "Nested Array" }, .T., FunctionCall(), @FunctionPointer() }</syntaxhighlight>
* [[CodeBlock]]: <syntaxhighlight lang=visualfoxpro inline>{ |Arg1, ArgN| Arg1 := ArgN + OuterVar + FunctionCall() }</syntaxhighlight>
* Hash: <syntaxhighlight lang=visualfoxpro inline>{ "Name" => "John", 1 => "Numeric key", "Name2" => { "Nested" => "Hash" } }</syntaxhighlight>
Hashes may use ''any'' type including other Hashes as the ''Key'' for any element. Hashes and Arrays may contain ''any'' type as the ''Value'' of any member, including nesting arrays, and Hashes.
|