Okay, this was easy (sometimes i've got little problems with english language)! Thank you.
But now i get an error:
CODE
global proc filecreate (string $pathfile) {
string $filetemp;
if (file -q -ex $pathfile
) {
print "file there ";
//$filetemp=fopen $pathfile "w"
;
}else {
print "file not there";
$filetemp=fopen $pathfile w
;
fprint $filetemp "Hello there\n";
fclose $filetemp;
I get this error
Invalid call to "fprint". Check number and types of arguments expected by the procedure.
But this is exactly (I think) the example of the documentation.
What went wrong?