| |
|
|
Torsten Rümker | not the most beautiful, but a working Solution. CompileMarkSeparation
Proc Datei_einlesen
Declare Zeile$, Zaehler&
@Sendmessage(Filmliste&,$0184,0,0)FilmListe löschen
Reset #1
Let Zaehler& = 1
Whilenot @Eof(#1)
Input #1, Zeile$
Datentraeger$[Zaehler&] = @Substr$(Zeile$,1,";")
Filmname$[Zaehler&] = @Substr$(Zeile$,2,";")
Beschreibung$[Zaehler&] = @Substr$(Zeile$,3,";")
@Addstring(Filmliste&,Filmname$[Zaehler&])
Inc Zaehler&
Endwhile
Close #1
Endproc
Proc Datei_schreiben
Declare Zaehler&, Zeile$
Rewrite #1
Let Zaehler& = 1
Whileloop @Getcount(Filmliste&)
Ifnot Datentraeger$[Zaehler&] = ""
Zeile$ = Datentraeger$[Zaehler&]+";"+Filmname$[Zaehler&]+";"+Beschreibung$[Zaehler&]
Print #1,Zeile$
Endif
Inc Zaehler&
Endwhile
Close #1
Endproc
Proc Eintrag_loeschen
Declare Zaehler&
Let Zaehler& = 1
Whileloop 1000
If @Getstring$(Filmliste&,@Getcursel(Filmliste&)) = Filmname$[&Loop]
Let Datentraeger$[&Loop] =""
Endif
Endwhile
Datei_schreiben
Datei_einlesen
'./../../function-references/XProfan/endproc/'>Endproc
MfG Torsten |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 11/14/05 ▲ |
|
|
|
|
| |
|
| |
|
|
|
Ragnar Rehbein | another ansatz would z.b. The listview.dll of frank
one can so very slight a csv-File in a listview reinschieben. in the LV row delete, Edit etc. (LV can too make invisible) and subsequently again in a csv-File write.
is for sure The fastest Solution.
unfortunately not lizenzfrei.
r.r. |
|
|
| |
|
|