skip all lines that start with '#'. Now I can have self-plotting data files using #!

This commit is contained in:
Dima Kogan 2010-01-10 23:46:53 -08:00
parent e16af8103a
commit 8d38a2c053

View File

@ -249,6 +249,8 @@ sub mainThread {
while( $_ = ($dataQueue && $dataQueue->dequeue()) // <> )
{
next if /^#/o;
if($_ ne "Plot now")
{
$haveNewData = 1;