CommandLine

Command-line argument view construction and printing helpers.


Ownership and lifetime


Command view shape


toCommandLine2 input model


Printing layout


Functions


Examples

Runtime example: constructed view size

"CommandLine" use
"Array" use
"String" use
"control" use

{} Int32 {} [
  addresses: Natx Array;
  "alpha" storageAddress @addresses.append
  "beta" storageAddress @addresses.append
  commands: @addresses.data 2 toCommandLine2;
  commands.size toString print
  LF print
  0
] "main" exportFunction

Expected Output

2

See also