MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Bedienungsanleitung Seite 38

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 63
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 37
else
append getprop(index,thisword),w
end if
end repeat
sort index
end if
return index
end
GetListOfLines(sourceString) - where sourceString is the string to operate on. Returns a list of
lines delimited by either CR only (Mac) or CR/LF (PC) or empty list if there was an error.
Creates a list of the lines contained in sourceString.
Example:
on readPCFile filePath
-- Automatically strips off linefeeds and puts lines into
-- a list
--
set f = new(xtra "fileio")
openFile(f,filePath,1)
set filetext = readFile(f)
closeFile(f)
set lineList = GetListOfLines(filetext)
return lineList
end
Online Help
38
Seitenansicht 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 62 63

Kommentare zu diesen Handbüchern

Keine Kommentare