Mit dem iPhone scannen, um zu installieren
Thank you by : MavLiker
Neue Funktionen
Version 1.0
First release
Was er macht
14 Aktionen-
Ask for InputWhat is the minimum number?
-
Ask for InputWhat is the maximum number?
-
Random Number
-
If
-
Show Alert
-
Stop This Shortcut
-
If
-
Show NotificationThe number is …
-
Wait
-
Choose from MenuDo you want to go again?
-
Choose from Menuye
-
Run ShortcutNew Shortcut 2
-
Choose from MenuTwo
-
Stop This Shortcut
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define color darkgray
#define glyph circledPi
const ProvidedInput = prompt("What is the minimum number?", "Number")
const ProvidedInput1 = prompt("What is the maximum number?", "Number")
randomNumber(ProvidedInput, ProvidedInput1)
if ProvidedInput1 < ProvidedInput {
confirm("This operation will not work. Try again!")
stop()
} else {
}
showNotification("The number is {}")
wait(2)
menu "Do you want to go again?" {
item "Yes":
runSelf()
item "No":
stop()
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung