Thanks all,
if( t3lib_div::int_from_ver($GLOBALS['TYPO_VERSION']) >= 3006000 ) { ...  }   works fine.
Stan
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/dev-list-archive/thread/46611/