<?php
class clsWhatEver
{
private $m;
/// Constructor.
public function __construct()
{
parent::__construct();
if(TRUE):
//something
else:
// something else
endif;
switch($var):
case 'something':
// do something
break;
default:
// default
endswitch;
} // method __construct
} // class clsWhatEver
?>The above code snippet will show "parent:", "else:" and "default:" -- <http://forum.pspad.com/read.php?2,68601,68603> PSPad freeware editor http://www.pspad.com
