Ingebouwde functies
Iedere geregistreerde functie heeft een eigen pagina. Gebruik de gelokaliseerde naam; canonieke ID’s zijn gelijk in beide talen.
De geavanceerde data-, bestands-, configuratie- en netwerk-API’s vereisen Creator Pro voor uitvoeren/bouwen in IDE/CLI. Zie toestemming en hostondersteuning.
math
| Aanroep | Canonieke ID |
|---|---|
| som | math.sum |
| gemiddelde | math.mean |
| minimum | math.minimum |
| maximum | math.maximum |
| absoluut | math.abs |
| rondAf | math.round |
simulation
| Aanroep | Canonieke ID |
|---|---|
| simulatieKlok | simulation.clock |
| startSimulatie | simulation.start |
| pauzeerSimulatie | simulation.pause |
| vervolgSimulatie | simulation.advance |
| stapSimulatie | simulation.step |
| herstelSimulatie | simulation.reset |
| simulatieTempo | simulation.rate |
measurements
| Aanroep | Canonieke ID |
|---|---|
| meetReeks | measurements.series |
| voegMetingToe | measurements.record |
| meetWaarden | measurements.values |
| wisMetingen | measurements.clear |
media
| Aanroep | Canonical ID |
|---|---|
| speelGeluid | media.playSound |
| zetSpoorVolume | media.setTrackVolume |
| zetVolume | media.setVolume |
| toonAfbeelding | media.showImage |
| startGeluid | media.startSound |
| stopAlleGeluiden | media.stopAllSounds |
| stopSpoor | media.stopTrack |
music
| Aanroep | Canonical ID |
|---|---|
| speelNoot | music.playNote |
| startMelodie | music.startMelody |
| startOrkest | music.startOrchestra |
network
| Aanroep | Canonical ID |
|---|---|
| haalWebJSON | network.getJSON |
| haalWebTekst | network.getText |
| httpVerzoek | network.request |
| openHTTPStroom | network.openStream |
| leesHTTPStroom | network.readStream |
| sluitHTTPStroom | network.closeStream |
| openWebSocket | network.openSocket |
| stuurWebSocket | network.sendSocket |
| ontvangWebSocket | network.receiveSocket |
| sluitWebSocket | network.closeSocket |
scene3d
| Aanroep | Canonical ID |
|---|---|
| richt3D | scene3d.aim |
| doos3D | scene3d.box |
| camera3D | scene3d.camera |
| kleur3D | scene3d.color |
| cilinder3D | scene3d.cylinder |
| teken3D | scene3d.draw |
| kijkNaar3D | scene3d.lookAt |
| beweegCamera3D | scene3d.moveCamera |
| plaats3D | scene3d.position |
| verwijder3D | scene3d.remove |
| wis3D | scene3d.reset |
| stevig3D | scene3d.solid |
| bol3D | scene3d.sphere |
| textuur3D | scene3d.texture |
| raakt3D | scene3d.touching |
| draai3D | scene3d.turn |
| draaiCamera3D | scene3d.turnCamera |
core
| Aanroep | Canonical ID |
|---|---|
| lengte | core.length |
| zeg | core.print |
| tekst | core.text |
app
| Aanroep | Canonical ID |
|---|---|
| sluitApp | app.exit |
storage
| Aanroep | Canonical ID |
|---|---|
| verwijderGegeven | storage.delete |
| laadGegeven | storage.get |
| bewaardeSleutels | storage.keys |
| bewaarGegeven | storage.set |
collections
| Aanroep | Canonical ID |
|---|---|
| herhaalLijst | collections.repeat |
random
| Aanroep | Canonical ID |
|---|---|
| willekeurigGeheel | random.integer |
time
| Aanroep | Canonical ID |
|---|---|
| wacht | time.wait |
events
| Aanroep | Canonical ID |
|---|---|
| na | events.after |
| zendBericht | events.broadcast |
| toetsGedrukt | events.keyPressed |
| berichtOntvangen | events.messageReceived |
| aanwijzerGeklikt | events.pointerClicked |
| aanwijzerGedrukt | events.pointerPressed |
| aanwijzerLosgelaten | events.pointerReleased |
| aanwijzerX | events.pointerX |
| aanwijzerY | events.pointerY |
| gestart | events.started |
input
| Aanroep | Canonical ID |
|---|---|
| kies | input.choose |
| toetsIngedrukt | input.keyDown |
| vraagJaNee | input.readBoolean |
| vraag | input.readLine |
| vraagGetal | input.readNumber |
graphics
| Aanroep | Canonical ID |
|---|---|
| cirkel | graphics.circle |
| wisScherm | graphics.clear |
| tekenLijn | graphics.line |
| rechthoek | graphics.rectangle |
| tekenTekst | graphics.text |
turtle
| Aanroep | Canonical ID |
|---|---|
| wis | turtle.clear |
| vooruit | turtle.forward |
| thuis | turtle.home |
| penNeer | turtle.penDown |
| penOp | turtle.penUp |
| links | turtle.turnLeft |
| rechts | turtle.turnRight |
sprites
| Aanroep | Canonical ID |
|---|---|
| verbergSprite | sprites.hide |
| toonSprite | sprites.show |
gpio
| Aanroep | Canonical ID |
|---|---|
| leesPin | gpio.read |
| pinIngang | gpio.setInput |
| pinUitgang | gpio.setOutput |
| schrijfPin | gpio.write |
ui
| Aanroep | Canonical ID |
|---|---|
| toonFormulier | ui.form |
data
| Aanroep | Canonieke ID |
|---|---|
| voerSQLUit | data.execute |
| vraagSQL | data.query |
| beginTransactie | data.begin |
| bevestigTransactie | data.commit |
| herstelTransactie | data.rollback |
| migreerData | data.migrate |
files
| Aanroep | Canonieke ID |
|---|---|
| leesBestandsTekst | files.readText |
| schrijfBestandsTekst | files.writeText |
| toonMapBestanden | files.list |
config
| Aanroep | Canonieke ID |
|---|---|
| configWaarde | config.value |
| configOmgeving | config.environment |