|
From: theozh <th...@gm...> - 2018-11-10 18:02:29
|
Thanks, in priciple a nice idea. But probably works only under Linux?! I guess 'cat' doesn't exists in a simple Win7 system. I tried with 'type' instead, but no success. On Saturday, 10 November 2018 07:05:46 theozh wrote: > Hi, I would like to read a file (as is) into a datablock. > I basically found two ways to do this. See code below. I would do something very different. set print "head" print "$Data1 << EOD" set print "tail" print "EOD" unset print load "< cat head Test.dat tail" print $Data1 Ethan |