We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#dim
1 parent 713d431 commit d5f60cfCopy full SHA for d5f60cf
README.md
@@ -37,3 +37,10 @@ or
37
Write 1, 2, 3
38
Do ..Method(Arg1, Arg2, Arg3)
39
```
40
+4. We recommend to use `#dim` statement for declaration of local variables types, e.g.
41
+```
42
+ #dim array as %ArrayOfDataTypes = ##class(%ArrayOfDataTypes).%New()
43
+ do array.SetAt(id, "id")
44
+ #dim status As %Status = $$$OK
45
46
+This will help editor to provide better auto-complete, and eventually will be used by static checker for type informantion extraction.
0 commit comments