note 48597 added to function.ncurses-init-pair

From: Date: Fri, 31 Dec 2004 19:18:33 +0000
Subject: note 48597 added to function.ncurses-init-pair
Groups: php.notes 
Request: Send a blank email to php-notes+get-82519@lists.php.net to get a copy of this message
Example usage: $color = ncurses_init_pair( 1, NCURSES_COLOR_RED, NCURSES_COLOR_BLACK ); $color will be null if call failed, for example, when an invalid color constant is passed. To check to see if color pair was successfully initialized: $color = ncurses_init_pair( 1, NCURSES_COLOR_RED, NCURSES_COLOR_BLACK ); if( $color != null ) { print( 'Colors initialized...' ); } ---- Manual Page -- http://www.php.net/manual/en/function.ncurses-init-pair.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48597 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48597&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48597&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82519) next »