DELETE
→ DELETEThe value standing for the Delete key.
DELETEYou hand it to taetsiETshwerwe. It is the string 'Delete'.
It is not BACKSPACE: on most keyboards, BACKSPACE rubs out the character behind the cursor, while DELETE removes the one in front of it.
Note:
DELETEis notphimola.phimolais Bopa’s keyword forclear, which wipes the canvas.DELETEis a key on the keyboard. They are written differently, so they never collide.
The name stays English. Written Setswana has DELETE key as “taetsi ya DELETE” — and, tellingly, the action of deleting is translated as phimola. The verb translates; the key’s name does not.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 240);
bokamorago(243);
tlogelaMothalo();
tlhalosa('Didiko tse di tsenngwang ka go tobetsa, tse di phimolwang ka taetsi ya DELETE. Tobetsa setshwantsho pele.');
}
tiro pebaETobeditswe() {
tlatsaMmala(120, 170, 120, 180);
thalaSediko(pebaX, pebaY, 40);
}
tiro taetsiETobeditswe() {
fa (khoutuYaTaetsi === DELETE) {
bokamorago(243);
}
}