TAB
→ TABThe value standing for the Tab key.
TABYou hand it to taetsiETshwerwe. It is the string 'Tab'.
Note that the browser uses TAB to move around the page. Pressing TAB may take focus off your sketch and give it to something else on the page — which means the key presses after it no longer reach the sketch at all. Worth knowing when testing in the Bopa editor.
The name stays English. Written Setswana has TAB key as “taetsi ya TAB”. There is a word for the thing the key inserts into text — thebe — but that names a screen tab, not the key.
Examples
Section titled “Examples”diri palo = 0;
tiro setaLoeto() {
thalaKanefase(400, 200);
tlhalosa('Palo e e okelediwang nako nngwe le nngwe fa taetsi ya TAB e tobediwa. Tobetsa setshwantsho pele.');
}
tiro tshwantsha() {
bokamorago(238);
tlatsaMmala(40, 60, 90);
bogoloJwaMokwalo(30);
rulaganyaMokwalo(BOGARE);
thalaMokwalo(palo, 200, 110);
}
tiro taetsiETobeditswe() {
fa (khoutuYaTaetsi === TAB) {
palo = palo + 1;
}
}