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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mela | lenaane | Array of strings. |
leina | mokwalo | File name. |
mofuta (optional) | mokwalo | Extension; defaults to txt. |
CRLF (optional) | boammaaruri | Use CRLF instead of LF. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaKonopo("Boloka");
dirisaMoGo(e, pebaEKonyilwe, () => bolokaMelaYaMokwalo(["Dumela", "Lefatshe"], "mela", "txt", maaka));
}