list of all pcs in pcs.txt
Posted: Mon Jun 12, 2006 1:54 am
i want to list all the pcs in the datafile and check if there are some of them without account (caused by errors, etc. ).
how can i do?
just a
how can i do?
just a
Code: Select all
var datafile:= OpenDataFile( "pcs" );
if (!datafile)
Sendsysmessage(who," "+datafile);
Print(datafile);
Print("Il datafile non esiste!");
Sendsysmessage(who,"Il datafile non esiste!");
return;
endif;
foreach key in datafile
Sendsysmessage(who," "+key);
endforeach