Skip to content
ExamplesOpen editor ↗

bolokaMelaYaMokwalo

→ saveStrings()

Downloads lines of text.

bolokaMelaYaMokwalo(mela, leina, [mofuta], [CRLF])

Writes array entries separated by line endings. Extension defaults to txt; true as the fourth argument uses CRLF. Call from a user action.

NameTypeDescription
melalenaaneArray of strings.
leinamokwaloFile name.
mofuta (optional)mokwaloExtension; defaults to txt.
CRLF (optional)boammaaruriUse CRLF instead of LF.
Downloads lines of text.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaKonopo("Boloka");
  dirisaMoGo(e, pebaEKonyilwe, () => bolokaMelaYaMokwalo(["Dumela", "Lefatshe"], "mela", "txt", maaka));
}

bopaTemana, dirisaMoGo