Antwort auf: Speichern

Startseite Foren Deutsches LiveCode-Forum Speichern Antwort auf: Speichern

#5959
Jan
Teilnehmer

    funktioniert das dann so?
    put specialfolderpath(“documents”) & “/Data01.txt” into tFile
    if there is a file tFile then
    put url(“file:” & tFile) into data01
    put data01 into field “Fd1” of card “auswahl01”
    put field “Fd1” of card “auswahl01” into field “Fd01” of card “menue”
    end if

    put specialfolderpath(“documents”) & “/Data02.txt” into tFile
    if there is a file tFile then
    put url(“file:” & tFile) into data02
    put data02 into field “Fd1” of card “auswahl02”
    put field “Fd1” of card “auswahl02” into field “Fd02” of card “menue”
    end if

    oder muss ich tFile aunoch ne Zahl zuweisen, wie z.B. tFile01, tFile02….