A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/cindent


Name: cindent - indent and format an LPC program source file

Syntax:
	int cindent(string path)

Description:
	The cindent efun indents and formats the named file in the same way
	as the Unix program 'indent'.

	It is used by the ed function 'I' with the currently edited file.

Return value:
	0, if there is no such file, 1 upon successful completion.

Examples: 
	cindent("/players/nobody/workroom.c");

See also:


This page was generated in LPC

Imprint / Impressum