smartindent

Smart indent a nelson file

Syntax

  • smartindent(filename)

  • smartindent(filename, indentsize)

  • smartindent(filename, indentsize, dobackup)

Input argument

  • filename - a string: filename to indent.

  • indentsize - an integer value > 0. default: 2

  • dobackup - a logical: false by default

Description

smartindent indents code to make reading statements such as while loops easier.

See also

edit.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated