summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci')
-rw-r--r--texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci38
1 files changed, 0 insertions, 38 deletions
diff --git a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci b/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci
deleted file mode 100644
index eaf9f6df..00000000
--- a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/ReadfromCindy.sci
+++ /dev/null
@@ -1,38 +0,0 @@
-// s:2014,09.08
-// e:2014.09.26
-// e:2014.10.07 debugged, code changed
-// e:2014.10.08 CR | LF
-
-function Out=ReadfromCindy(Fname)
- Fid=mopen(Fname,"rb");
- Gline=list();
- Gpt=list();
- Gstr=[];
- Str="";
- Flg=1;
- Tmp=mgetstr(1,Fid);
- while 1==1
- if Tmp=="" then
- if Flg==1 then
- Gstr=[Gstr;Str];
- Str="";
- Flg=1;
- end;
- break;
- end
- C=ascii(Tmp);
- if C==13|C==10 then// CR,LF
- if Flg==1 then
- Gstr=[Gstr;Str];
- Str="";
- Flg=0;
- end;
- else
- Str=Str+Tmp;
- Flg=1;
- end;
- Tmp=mgetstr(1,Fid);
- end;
- mclose(Fid);
- Out=Gstr;
-endfunction;