Dear all,
I have tried something to read words inside of an archive with extension .txt, I can read every word in the text, but only once, after I want to see the same word with the same command but it respond with an empty vector.
msg=mopen("B:\SCILAB\PROGRAMAS\hola.txt",'rt')
Warning: file 'B:\SCILAB\PROGRAMAS\hola.txt' already opened in Scilab.
msg =
2.
second=mfscanf(2,msg,'%s')
second =
!hola !
! !
!pumpum !
mfscanf(1,msg,'%s')
ans =
[]
mfscanf(2,msg,'%s')
ans =
[]
I donĀ“t know if command mfscanf has flags or something like that.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)