It is just an example, and assumes that there is a file Waveform.dat in the folder "D:\SampleData" .
You can import Origin's sample data file as follows:
------------------------------------------
string path$ = system.path.program$+"Samples\Curve Fitting\Gaussian.dat";
impasc fname:=path$ options.ImpMode:=3;
------------------------------------------
Sam
OriginLab Technical Services