HyperTalk - Exam Prep Study Guide
[Dutch]
HyperTalk Basiskennis
Set the user level to scripting
- Er zijn 5 user levels in Apple HyperCard.
- Bladeren/browsing
- Typen/typing
- Tekenen/painting
- Onterpen/authoring
- Scripting/scripting
- Voordat je je eigen scripts kunt schrijven, moet je het gebruikersniveau (user level) op scripting (5) zetten. Type het volgende in de message box. (Merk op dat tekst tussen vierkante haakjes "[]" optioneel is.)
- set [the] userLevel [of HyperCard] to 5
HyperTalk en scripts
- HyperTalk (TM) is de scripttaal van Apple HyperCard. Je gebruikt dit om opdrachten in gewoon Engels te schrijven die reageren op events (zoals wanneer de gebruiker op een schermknop klikt of naar een nieuwe kaart gaat).
- In HyperTalk wordt het reageren op een event "handling" van de event genoemd. De scripter schrijft een specifieke handler for elke event waarop de stack moet kunnen reageren (to handle). Een verzameling handlers wordt een script genoemd.
- Het volgende toont een handler voor de event "mouseUp". Dit kan onderdeel zijn van een script van kaartknop id 1.
- on mouseUp
- beep
- end mouseUp
Wat zijn messages?
- Een message is een bericht dat laat weten dat een event heeft plaatsgevonden. Bijvoorbeeld, de gebruiker heeft de muis ingedrukt, om het antwoord op (4 * 3) gevraagd, of een nieuwe kaart aan de stack toegevoegd.
- Om messages, of berichten, te begrijpen, zou je je het versturen van een brief kunnen voorstellen. Je schrijft een bericht en stopt dat in een enveloppe. Dan zet je een adres op de enveloppe en stuur je dat aan een kennis. HyperCard doet precies hetzelfde:
- Het bepaalt eerst de inhoud van een bericht (datgene wat zojuist heeft plaatsgevonden).
- Dan besluit het waar het bericht naartoe verstuurd moet worden.
- Wat is de inhoud van een bericht?
- Het bericht, of de message, zelf is niets anders dan HyperCard's naam voor een gebeurtenis die zojuist heeft plaatsgevonden. HyperCard fungeert als vertaler: het houdt de stack voortdurend in de gaten en vertaalt gebeurtenissen in namen van berichten.
- Waarheen verstuurt HyperCard berichten?
- HyperCard bepaalt welkd object door de gebruiker is geactiveerd en gebruikt dit als "adres" voor het bericht. HyperCard verstuurt vervolgens het bericht naar een van zijn objecten:
- a button (btn)
- a field (fld)
- a card (cd)
- a background (bg)
- a stack
- Als HyperCard dan zowel de inhoud als de bestemming van een bericht kent, stuurt het het bericht naar het object.
Handling messages
- De scripter schrijft een message handler die op berichten reageert. Als een object een bericht ontvangt, zoekt HyperCard in het script van het object naar een handler met dezelfde naam als het bericht (een handler begint met het woord "on" gevolgd door de naam van een bericht). Als HyperCard een treffer vindt, voert het de HyperTalk-commando's in de handler uit totdat het een "end" statement tegenkomt.
- Bijvoorbeeld, als je wilt dat een schermknop reageert op een "mouseUp"-bericht, kun je een handler "mouseUp" aan zijn script toevoegen.
- on mouseUp
- beep
- end mouseUp
De berichtenhiërarchie
- Wat gebeurt er als een object een bericht ontvangt waarmee het niets aanvangen kan?
- In dit geval stuurt HyperCard het bericht verder naar andere objecten en doorzoekt hun scripts voor een handler die overeenkomt met het huidige bericht. De volgorde waarin HyperCard berichten doorstuurt naar opeenvolgende objecten wordt de berichtenhiërarchie genoemd.
- Eerst stuurt HyperCard berichten naar een bepaalde button of een veld of naar de huidige kaart. Als een button of veld het bericht niet kan verwerken, gaat HyperCard verder met de huidige kaart, vervolgens van de huidige kaart naar volgende objecten en wel in deze volgorde:
- de huidige achtergrond
- de huidige stack
- het script van de "Home"-stack
- HyperCard zelf
Het schrijven van handlers
- Als je een handler voor een bericht schrijft, definieer je een serie commando's of statements die HyperCard zal uitvoeren. Elke handler heeft de volgende vorm:
- on messageName
- -- statements
- end messageName
- Als HyperCard een handler uitvoert, wordt elke regel van een handler zelf weer als bericht verstuurd (dus handlers kunnen andere handlers aanroepen).
- Belangrijk: de naam van een bericht hoeft geen ingebouwd HyperCard-bericht of -commando te zijn.
- Bijvoorbeeld, als je wilt dat een nieuw commando met de naam "doubleBeep" twee keer piept, zou je de volgende handler kunnen schrijven:
- on doubleBeep
- beep
- beep
- end doubleBeep
- Natuurlijk kent HyperCard het commando "doubleBeep" niet, dus zal dit nooit vanzelf worden verstuurd als reactie op een event, maar je kunt "doubleBeep" wel vanaf de message box versturen of je kunt het gebruiken in andere handlers:
- Het script van een kaartknop zou dan bijvoorbeeld de volgende handler voor het bericht "mouseUp" kunnen bevatten:
- on mouseUp
- doubleBeep
- end mouseUp
- Als het script ook de handler "doubleBeep" bevat (of als het script van een ander object dat zich hoger in de berichtenhiërarchie bevindt deze handler bevat), zal het bericht "mouseUp" een bericht "doubleBeep" versturen en "doubleBeep" zal twee "beep" commando's versturen. Omdat "beep" een ingebouwd HyperCard-commando is, zal HyperCard twee keer het systeemgeluid laten horen.
- Als HyperCard het bericht "doubleBeep" niet kan vinden, zal het in een dialoogvenster meedelen dat het het bericht niet begrijpt.
Het gebruik van parameters
- Een handler kan waarden (parameters) ontvangen en deze gebruiken terwijl het wordt uitgevoerd. Elke waarde heeft een eigen parameter. Parameters volgen altijd de naam van de handler in een door comma's gescheiden lijst.
- Bijvoorbeeld, als onderstaande handler "mouseUp" wordt uitgevoerd, roept HyperCard "sayMessage" aan met twee waarden, "red" en "apple". Het relateert deze waarden aan de parameters theColor en theFruit in handler "sayMessage".
- on mouseUp
- sayMessage "red", "apple"
- end mouseUp
- on sayMessage theColor, theFruit
- put "I want a " & theColor & " " & theFruit & "."
- end sayMessage
- Je kunt de variabelen theColor en theFuit overal in de handler gebruiken. Als HyperCard ze tegenkomt, gebruikt het de huidige waarde van deze variabelen. (De variabele blijft aldus gedefinieerd terwijl de handler wordt uitgevoerd.)
Het schrijven van handlers
- Als je een handler voor een functie schrijft, dan definieer je commando's of statements die een waarde retourneren aan de handler die de functie aanroept. Een functiehandler heeft de volgende vorm:
- function functionName
- -- statements
- end functionName
- HyperCard heeft veel ingebouwde functies, maar je kunt ook je eigen functies schrijven:
- on mouseUp
- put squareIt(5) into the message box
- end mouseUp
- function squareIt x
- return (x * x)
- end squareIt
- De functie "squareIt" ontvangt een getal via zijn parameter, x. Vervolgens retourneert het de waarde van (x * x) aan de handler die "mouseUp" heeft aangeroepen. Dit laatste gebeurt met het commando "return".
De bouwstenen
- HyperTalk kent een aantal manieren om verschillende types van waarden te definiëren:
- Waardetypes
- Tot de standaard waardetypes in HyperTalk behoren:
- getallen (3, -99,9, etc.)
- Door aanhalingstekens omgeven tekenrijen (strings)
- een booleaanse waarde (true of false)
- Operatoren
- Een operator is een teken of groep van tekens die een bepaalde berekening of vergelijking uitvoeren. In HyperTalk hebben operators betrekking op waarden.
- Expressies
- Een expressie geeft een waarde aan; het gaat hier om hetzij een standaard waardetype ("hello world", 99, true) of om een complexe expressie die weer bestaat uit standaard waardetypes en operatoren.
- Constanten
- Een constante is een benoemde waarde die nooit verandert.
- Locale variabelen
- Een locale variabele is een benoemde variabele (een locatie om waarden in op te slaan) waarvan de waarde gelijk is aan willekeurig wat je erin stopt Een locale variabele is alleen valide binnen de handler waarin zij wordt gebruikt - de variabele houdt op de bestaan zo gauw de handler ten einde is. Je creëert een locale variabele door er een waarde aan toe te kennen met het commando "put" en de variabelenaam.
- Globale variabelen
- Een globale variabele wordt een container genoemd (een locatie waar je waarden in kunt opslaan) waarvan de waarde gelijk is aan willekeurig wat je erin stopt, maar de variabele is valide voor alle handlers waarin de variabele wordt gedeclareerd. Om een globale variabele te declareren gebruik je het woord "global" gevolgd door de naam van de variabele.
- Je kunt globale variabele ook creëren door in de message box een waarde aan een variabele toe te kennen.
- it
- "it" is een voorgedefinieerde variabele. HyperCard gebruikt "it" om informatie in op te slaan die wordt geretourneerd door commando's als "ask", "answer", "convert", en "read". Je kunt ook direct een waarde aan "it" toekennen door het commando "get" te gebruiken ("put 3 into it" en "get 3" zijn equivalent). Binnen een handler is "it" een locale variabele. In de message box moet "it" als globaal worden beschouwd.
- Gebruik "it" als je een tijdelijke variabele nodig hebt. Gebruik een benoemde, locale variabele als je gedurende de gehele handler wilt verwijzen naar een waarde - het is al te makkelijk om de waarde van "it" ongewild te veranderen.
- button (btn)
- Ook schermknoppen zijn, net als variabelen, containers (locaties waar je een waarde in kunt opslaan). De waarde van een button is gelijk aan willekeurig welke tekst erin is opgeslagen.
- Net als bij variabelen is de tekst van een schermknop onzichtbaar; echter, net als bij velden blijft de tekst dezelfde - zelfs tussen HyperCard-sessies in - tot je haar verandert.
- field (fld)
- Een veld, evenals een variabele, is een container (een locatie waar je waarden in kunt opslaan). De waarde van een veld is gelijk aan willkeurig welke tekst erin is opgeslagen.
- Doorgaans bevatten velden tekst die voor de gebruiker zichtbaar dient te zijn.
- message box
- De message box is een enkelregelige container.
- selection
- De selectie (selection) is een container die de huidige geselecteerde tekst bevat, mits er van een selectie sprake is. De tekst kan verschijnen in elke veld of in de message box. (Merk op: de door het commando "find" gevonden tekst wordt niet geselecteerd). De waarde van de selectie is gelijk aan de gemarkeerde tekst.
- chunk expression
- De chunk expressie beschrijft een uniek stukje van de inhoud van een container of ander waardetype. Een chunk expressie kan naar een bepaald teken verwijzen, een woord (gescheiden van andere woorden door spaties), een item (gescheiden door comma's), een regel (gescheiden door return tekens), of een combinatie of reeks hiervan.
- property
- Een eigenschap (property) is een benoemde waarde die een kenmerk van een HyperCard object of omgeving definieert. Eigenschappen worden vaak uit een reeks van opties in dialoogvensters of paletten geseleecteerd en kunnen veelal worden aangepast vanuit een handler.
- function
- Een functie (function) is een waarde die door HyperCard wordt berekend op het moment dat de functie wordt aangeroepen.
- De wijze waarop een waarde wordt berekend, is voor HyperTalk's functies reeds intern bepaald. Je kunt je eigen functies definiëren door functiehandlers te schrijven. Soms moet een script dat een functie aanroept daar startwaarden of parameters een meegeven. Functies retourneren per definitie een waarde.
- clipboard
- the clipboard
- put [text] into the clipboard
Verwijzingen naar objecten
- HyperCard kent de volgende objecten:
- Een schermknop (button, btn)
- Een tekstveld (field, fld)
- Een kaart (card, cd)
- Een achtergrond (background, bg)
- Een stapel (stack)
- Er zijn verschillen manieren om vanuit een script naar een object en andere elementen te verwijzen.
- name
- De naam van een object is de waarde uit het Info dialoofvenster.
- number
- Het nummer ("number") van een object wordt door zijn positie tussen soortgelijke objecten bepaald.
- Schermknoppen en velden bevinden zich op een kaart of achtergrond. Kaarten en achtergronden bevinden zich in een stack.
- Verandert men de volgorde van schermknoppen, velden, kaarten, of achtergronden, dan verandert men daarmee ook de bijbehorende nummers ("number").
- ID
- Het "ID" van een object of menu is een uniek nummer dat door HyperCard wordt toegekend. De "ID" nummers van objecten veranderen nooit. Het Info-dialoogvenster toont de het "ID" van een object. (Stack hebben geen "ID".)
- Het "ID" van een programma is zijn applicatiesignatuur, een code van vier tekens.
- put the ID of HyperCard -- -> WILD
- part
- "part" verwijst naar een bepaalde schermknop of een veld op een bepaalde positie tussen alle andere buttons en velden in een bepaald domein.
- Als geen domein wordt gespecificeerd, geldt het standaarddomein "card".
- ordinal
- Je kunt naar een object verwijzen door een van de volgende ordinale aanduidingen de gebruiken:
- first
- second
- third
- fourth
- fifth
- sixth
- seventh
- eighth
- ninth
- tenth
- middle
- last
- any
- position
- Je kunt verwijzen naar sommige objecten door een van de volgende positie-aanduidingen te gebruiken:
- next
- prev
- previous
- this
- me
- "me" verwijst op dynamische wijze naar een object, om precies te zijn naar het object dat de op dat moment uitgevoerde handler bevat. In het geval van schermknoppen en velden verwijst "me" hetzij naar het object zelf of naar zijn inhoud, afhankelijk van de context.
- target
- "the target" is een andere manier om op dynamische wijze naar een object te verwijzen. Dit verwijst naar het object dat als eerste het bericht ontving dat behoort bij de op dat moment uitgevoerde handler. In het geval van schermknoppen en velden verwijst "the target" naar het object zelf en "target" naar zijn inhoud.
Opmerkingen toevoegen aan een script
- In HyperTalk geven twee afbrekingsstreepjes het begin van een opmerking aan. Als een script wordt uitgevoerd, wordt dergelijk commentaar genegeerd.
Handler voorbeelden
- Arabic/Roman Numerals
- function numeralArabic theChar
- put "M,D,C,L,X,V,I" into theRoman
- put "1000,500,100,50,10,5,1" into theArabic
- put "0" into theReturn
- repeat with i = 1 to the number of items of theRoman
- if (theChar = item i of theRoman) then
- put item i of theArabic into theReturn
- exit repeat
- end if
- end repeat
- return theReturn
- end numeralArabic
- Digital Numbers
- function lowerToUpper theWord
- put "" into theReturn
- repeat with i = 1 to the number of chars of theWord
- put char i of theWord into theChar
- put charToNum(theChar) into theNum
- if ((theNum >= 97) and (theNum <= 122)) then
- put numToChar(theNum - 32) after theReturn
- else
- put theChar after theReturn
- end if
- end repeat
- return theReturn
- end lowerToUpper
- Character Rearranger
- on mouseUp
- set the cursor to "busy"
- put the selectedText of the target into theAction
- if (theAction <> "") then
- put "" into cd fld "Answer"
- put removeReturn(bg fld "Contents") into theBefore
- put "" into theAfter
- if (theAction = "Compress") then
- repeat with i = 1 to the number of chars of theBefore
- put char i of theBefore into theChar
- if (theChar <> return) then
- if (theChar <> " ") then
- put theChar after theAfter
- end if
- else
- put theChar after theAfter
- end if
- end repeat
- else if (theAction = "Expand") then
- repeat with i = 1 to the number of chars of theBefore
- put char i of theBefore into theChar
- put theChar after theAfter
- if (theChar <> return) then
- put " " after theAfter
- end if
- end repeat
- else if (theAction = "Reverse") then
- repeat with i = 1 to the number of chars of theBefore
- put char i of theBefore into theChar
- put theChar before theAfter
- end repeat
- else if (theAction = "Vertical") then
- repeat with i = 1 to the number of chars of theBefore
- put char i of theBefore into theChar
- put theChar & return after theAfter
- end repeat
- else if (theAction = "Words") then
- repeat with i = 1 to the number of words of theBefore
- put word i of theBefore into theWord
- put theWord & return after theAfter
- end repeat
- end if
- put theAfter into cd fld "Answer"
- end if
- beep 1
- end mouseUp
- Orchestra
- on mouseUp
- set the cursor to "busy"
- put the selectedText of the target into theAction
- if (theAction <> "") then
- put "" into theSounds
- repeat with i = 1 to (the number of cd btns - 1)
- put the selectedText of cd btn (i + 1) into theText
- if (theText <> "") then
- put theText & return after theSounds
- end if
- end repeat
- if (theSounds <> "") then
- repeat
- if ((the mouse = "down") or (theSounds = "")) then
- exit repeat
- else
- repeat with i = 1 to the number of lines of theSounds
- set the soundChannel to i
- play (line i of theSounds) (any item of "C,D,E,F,G,A,B") & (any item of "2,3,4,5") & (any item of "w,h,q,e,s")
- end repeat
- end if
- end repeat
- repeat with i = 1 to the number of lines of theSounds
- set the soundChannel to i
- play stop
- end repeat
- else
- answer "Select up to 8 sounds."
- end if
- end if
- beep 1
- end mouseUp
- Analog Clock
- on idle
- global globalCount,globalDate,globalTime
- if (globalCount = "true") then
- if (the shiftKey = "down") then
- lock screen
- reset paint
- choose oval tool
- set the filled to "true"
- set the pattern to "1"
- drag from "144,144" to "368,368" with optionKey
- choose browse tool
- unlock screen
- put "false" into globalCount
- put "" into cd fld "Question"
- put "" into cd fld "Answer"
- beep 1
- else
- if (the long time <> globalTime) then
- put the long date into globalDate
- put the long time into globalTime
- put globalDate into cd fld "Question"
- put globalTime into cd fld "Answer"
- lock screen
- reset paint
- choose oval tool
- set the filled to "true"
- set the pattern to "1"
- drag from "144,144" to "368,368" with optionKey
- put the itemDelimiter into oldDelimiter
- set the itemDelimiter to ":"
- put (word 1 of item 3 of globalTime) into theSecond
- put (((item 2 of globalTime) * 60) + theSecond) into theMinute
- put (((item 1 of globalTime) * 3600) + theMinute) into theHour
- set the itemDelimiter to oldDelimiter
- if (theSecond = "00") then
- play "harpsichord"
- end if
- choose line tool
- put ((2 * pi / 60) * theSecond) into theAngle
- set the lineSize to "1"
- drag from "256,256" to (256 + round(104 * sin(theAngle))),(256 - round(104 * cos(theAngle)))
- put ((2 * pi / 3600) * theMinute) into theAngle
- set the lineSize to "3"
- drag from "256,256" to (256 + round(88 * sin(theAngle))),(256 - round(88 * cos(theAngle)))
- put ((2 * pi / 43200) * theHour) into theAngle
- set the lineSize to "5"
- drag from "256,256" to (256 + round(72 * sin(theAngle))),(256 - round(72 * cos(theAngle)))
- choose browse tool
- unlock screen
- end if
- end if
- end if
- end idle
Systeemberichten
- appleEvent
- on appleEvent class, id, sender
- -- statements
- end appleEvent
- closeBackground
- on closeBackground
- -- statements
- end closeBackground
- closeCard
- on closeCard
- -- statements
- end closeCard
- closeField
- on closeField
- -- statements
- end closeCard
- closeMovie
- on closeMovie movieName,windowID
- -- statements
- end closeMovie
- closePalette
- on closePalette paletteName,windowID
- -- statements
- end closePalette
- closePicture
- on closePicture pictureName,windowID
- -- statements
- end closePicture
- closeStack
- on closeStack
- -- statements
- end closeStack
- deleteBackground
- on deleteBackground
- -- statements
- end deleteBackground
- deleteButton
- on deleteButton
- -- statements
- end deleteButton
- deleteCard
- on deleteCard
- -- statements
- end deleteCard
- deleteField
- on deleteField
- -- statements
- end deleteField
- deleteStack
- on deleteStack
- -- statements
- end deleteStack
- errorDialog
- on errorDialog errorMessage
- -- statements
- end errorDialog
- enteringVRNode
- on enteringVRNode windowName,windowID,newNodeID
- -- statements
- end enteringVRNode
- exitField
- on exitField
- -- statements
- end exitField
- idle
- on idle
- -- statements
- end idle
- leavingVRNode
- on leavingVRNode windowName,windowID,oldNodeID,newNodeID
- -- statements
- end leavingVRNode
- mouseDoubleClick
- on mouseDoubleClick
- -- statements
- end mouseDoubleClick
- mouseDown
- on mouseDown
- -- statements
- end mouseDown
- mouseDownInMovie
- on mouseDownInMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseDownInMovie
- mouseDownInPicture
- on mouseDownInPicture windowName,clickLocation
- -- statements
- end mouseDownInPicture
- mouseEnter
- on mouseEnter
- -- statements
- end mouseEnter
- mouseEnterMovie
- on mouseEnterMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseEnterMovie
- mouseLeave
- on mouseLeave
- -- statements
- end mouseLeave
- mouseLeaveMovie
- on mouseLeaveMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseLeaveMovie
- mouseStillDown
- on mouseStillDown
- -- statements
- end mouseStillDown
- mouseStillDownInMovie
- on mouseStillDownInMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseStillDownInMovie
- mouseTriggerInMovie
- on mouseTriggerInMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseTriggerInMovie
- mouseUp
- on mouseUp
- -- statements
- end mouseUp
- mouseUpInMovie
- on mouseUpInMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseUpInMovie
- mouseUpInPicture
- on mouseUpInPicture windowName,clickLocation
- -- statements
- end mouseUpInPicture
- mouseWithin
- on mouseWithin
- -- statements
- end mouseWithin
- mouseWithinMovie
- on mouseWithinMovie windowName,windowID,mouseLoc,movieTime,{"vrHotSpot",hotspotID | "movie",movieID}
- -- statements
- end mouseWithinMovie
- moveWindow
- on moveWindow
- -- statements
- end moveWindow
- movieLinkToURL
- on movieLinkToURL windowName,windowID,pendingURL
- -- statements
- end movieLinkToURL
- movieRateChanged
- on movieRateChanged windowName,windowID,newRate
- -- statements
- end movieRateChanged
- movieTimeChanged
- on movieTimeChanged windowName,windowID,newTime
- -- statements
- end movieTimeChanged
- movieVolumeChanged
- on movieVolumeChanged windowName,windowID,newVolume
- -- statements
- end movieVolumeChanged
- newBackground
- on newBackground
- -- statements
- end newBackground
- newButton
- on newButton
- -- statements
- end newButton
- newCard
- on newCard
- -- statements
- end newCard
- newField
- on newField
- -- statements
- end newField
- newStack
- on newStack
- -- statements
- end newStack
- openBackground
- on openBackground
- -- statements
- end openBackground
- openCard
- on openCard
- -- statements
- end openCard
-
- openField
- on openField
- -- statements
- end openField
- openMovie
- on openMovie windowName,windowID
- -- statements
- end openMovie
- openPalette
- on openPalette paletteName,windowID
- -- statements
- end openPalette
- openPicture
- on openPicture windowName,windowID
- -- statements
- end openPicture
- openStack
- on openStack
- -- statements
- end openStack
- quit
- on quit
- -- statements
- end quit
- resume
- on resume
- -- statements
- end resume
- resumeStack
- on resumeStack
- -- statements
- end resumeStack
- sizeWindow
- on sizeWindow
- -- statements
- end sizeWindow
- spriteCustomAction
- on spriteCustomAction windowName,windowID,msgNumber,msgString
- -- statements
- end spriteCustomAction
- spriteDebugMessage
- on spriteDebugMessage windowName,movieID,message
- -- statements
- end spriteDebugMessage
- startup
- on startup
- -- statements
- end startup
- suspend
- on suspend
- -- statements
- end suspend
- suspendStack
- on suspendStack
- -- statements
- end suspendStack
Keywords
- do
- do statements [as scriptLanguage]
- end
- end {handlerName | if | repeat}
- exit
- exit {handlername | to HyperCard | repeat}
- function
- function customFunctionName [parameterList]
- global
- if-then-else
- if condition then statement [else statement]
- next repeat
- on
- on messageName [parameterList]
- pass
- repeat
- repeat {[forever] | for number [times] | until condition | while condition | with countVariable = start {to | down to} finish}
- return
- send
- send message [parameterList] [to {object | externalWindow}]
- send message [parameterList] to program programAddress [{with | without} reply]
Commando's
- activate
- add
- add number to [chunk of] container
- answer
- answer [normal] prompt [with button1[ or button2[ or button3]]]
- answer file prompt [of type fileType1[ or fileType2[ or fileType3]]]
- answer folder [prompt]
- answer program prompt [of type programType]
- arrowKey
- arrowKey {up | down | left | right}
- ask
- ask [password [clear]] question [with defaultReply]
- ask file prompt [with defaultFileName]
- beep
- choose
- choose toolName tool
- choose tool toolNumber
- click
- click at location [with key1[,key2[,key3]]]
- close
- close [document {in | with}] application
- close file fileName
- close movie movieName
- close picture pictureName
- close printing
- close windowDescriptor
- commandKeyDown
- controlKey
- convert
- convert inputDateTime [from date [and time]] to date [and time]
- copy template
- copy template reportTemplate to stack stackName
- create
- create menu menuName
- create stack stackName [with background] [in [a] new window]
- debug
- debug {pureQuickDraw {true | false} | sound {on | off} | maxMem | maxWindows | hintBits}
- debug checkpoint
- delete
- delete {button | field | part | chunk of container}
- delete [menuItem {of | from}] menu
- dial
- dial phoneNumber [with modem [modemCommandString]]
- disable
- disable {button | [menuItem of] menu}
- divide
- divide [chunk of] container by divisor
- doMenu
- doMenu menuItem [,menuName] [{with | without} dialog] [with modifierKey[,modifierKey[,modifierKey]]]
- drag
- drag from start to end [with modifierKey1[,modifierKey2[,modifierKey3]]]
- edit script
- edit [the] script of object
- enable
- enable {button | [menuItem of] menu}
- enterInField
- enterKey
- export paint
- export paint to file paintFile
- find
- find [normal | chars | word[s] | string | whole] [international] text [in field] [of marked cards]
- flash
- functionKey
- get
- go
- go [to] {card | background | stack [in [a] new window]} [without dialog]
- go [to] {home | back | {next | prev[ious] | ordinal | any} [[marked] card]}
- help
- hide
- hide {window | part | titlebar | menubar | groups | movie}
- hide {backgroundPicture | cardPicture}
- hide menubar
- import paint
- import paint from file paintFile
- keyDown
- lock
- lock error dialogs
- lock messages
- lock recent
- lock screen
- mark
- mark {card | all cards | cards where condition}
- mark cards by finding [international] [findForm] findString [in field]
- movie
- movie [name[,windowStyle[location[,visible[,floatingLayer]]]]]
- multiply
- multiply [chunk of] container by divisor
- open
- open [document with] application
- open file filePathname
- open movie moviePath
- open picture picturePathname
- open printing [with dialog]
- open report printing [with {dialog | template templateName}]
- open URL url-string
- palette
- pause
- picture
- picture [name[,source[,windowStyle[,visible[,bitDepth[floatingLayer]]]]]
- play
- play sound {tempo tempo} {notesList}
- play stop
- play movie movieName
- pop
- pop card [{before | into | after} [chunk of] container]
- print
- print {text | container}
- print card [from topLeft to rightBottom]
- print [number | all | marked] cards [from topLeft to rightBottom]
- print document with application
- push
- push [card | background | stack]
- put
- put text [{before | into | after} [chunk of] container]
- put itemList [into | before | after] {menuItem of} menu {with menuMessage[s] messageList}
- read
- read from file filePathname [at {start | -offsetFromEnd] {until {char | end | eof} | for numberOfChars}
- reply
- reply replyString [with keyword replyKeyword]
- reply error replyString
- request
- request evaluation {of | from} programAddress
- request {ae | appleEvent} {class | ID | sender | returnID | data [{of | with} keyword AEkeyword]}
- reset
- reset menubar
- reset paint
- reset printing
- returnInField
- returnKey
- rewind
- run
- save
- save stack as stackCopyName
- select
- select [before | after] {text | chunk} of {field | message}
- select {part | line of popupButton | empty}
- set
- set [the] property [of object] to value
- show
- show {window | part | movie} [at location]
- show {backgroundPicture | cardPicture | titlebar | menubar | groups}
- show [numberOfCards | marked | all] cards
- show menubar
- sort
- sort [[marked] cards of] {[this] stack | background}] [direction] [sortType] by sortKey
- sort [{lines | items} of] container [direction] [sortType] [by sortKey]
- speak
- speak phrase [with {gender voice | voice voiceName}]
- start
- stop
- stop sound
- stop speech
- stop using stackToRemove
- subtract
- subtract number from [chunk of] container
- tabKey
- type
- type characters [with modifierKey1[,modifierKey2[,modifierKey3]]]
- unlock
- unlock error dialogs
- unlock messages
- unlock recent
- unlock screen [with visual [effect] effectName [speed] [to destinationImage]]
- unmark
- unmark {card | all cards | cards where condition}
- unmark cards by finding [international] [findForm] findString [in field]
- visual
- visual [effect] effectName [speed] [to destinationImage]
- wait
- wait [for] time [tick[s] | second[s]]
- wait {while | until} condition
- write
- write text to file filePathname [at {start | end | eof | -offsetFromEnd }]
Functies
- abs
- the abs of number
- abs(number)
- annuity
- annuity(interestRate,numberOfPeriods)
- atan
- [the] atan of number
- atan(number)
- average
- charToNum
- [the] charToNum of character
- charToNum(character)
- clickChunk
- the clickChunk
- clickChunk()
- clickH, clickV
- the clickH
- clickH()
- the clickV
- clickV()
- clickLine
- the clickLine
- clickLine()
- clickLoc
- clickText
- the clickText
- clickText()
- commandKey
- the {commandKey | cmdKey}
- {commandKey | cmdKey}()
- compound
- compound(interestRate,numberOfPeriods)
- cos
- [the] cos of angleInRadians
- cos (angleInRadians)
- date
- the [long | abbr[rev[iated]] | short | English] date
- date()
- destination
- the destination
- destination()
- diskSpace
- the diskSpace [of disk diskName]
- diskspace([disk diskName])
- exp, exp1, exp2
- [the] exp of number
- exp(number)
- [the] exp1 of number
- exp1(number)
- [the] exp2 of number
- exp2(number)
- foundChunk
- the foundChunk
- foundChunk()
- foundField
- the foundField
- foundField()
- foundLine
- the foundLine
- foundLine()
- foundText
- the foundText
- foundText()
- heapSpace
- the heapSpace
- heapSpace()
- length
- [the] length of string
- length(string)
- ln, ln1, log2
- [the] ln of number
- ln(number)
- [the] ln1 of number
- ln1(number)
- [the] log2 of number
- log2(number)
- max
- menus
- min
- mouse
- mouseClick
- the mouseClick
- mouseClick()
- mouseH, mouseV
- the mouseH
- mouseH()
- the mouseV
- mouseV()
- mouseLoc
- number
- [the] number of [card | background] {buttons | fields | parts}
- [the] number of backgrounds [{in | of} this stack]
- [the] number of cards [{in | of} {background | this stack}]
- [the] number of marked cards
- [the] number of {characters | words | items | lines} {in | of} string
- [the] number of {menus | menuItems {in | of} menu}
- [the] number of movies
- [the] number of {nodes | [video | sprite] tracks} {of | in} movie
- [the] number of {hotspots {of | in} node | scenes {of | in} track | sprites {of | in} scene {of | in} track} {of | in} movie
- number({menus|menuItems {in | of} menu})
- number(windows)
- numToChar
- [the] numToChar of ASCIIvalue
- numToChar(ASCIIvalue)
- offset
- offset(stringToLocate,stringToSearch)
- optionKey
- the optionKey
- optionKey()
- param
- [the] param of parameterNumber
- param(parameterNumber)
- paramCount
- the paramCount
- paramCount()
- params
- programs
- the programs [of machine macAddress]
- programs()
- random
- [the] random of upperLimit
- random(upperLimit)
- result
- round
- [the] round of number
- round(number)
- screenRect
- the screenRect
- screenRect()
- seconds
- the sec[ond]s
- sec[ond]s()
- selectedButton
- the selectedButton of [card | background] family number
- selectedChunk
- the selectedChunk
- selectedChunk()
- selectedField
- the selectedField
- selectedField()
- selectedLine
- the selectedLine[s] [of {popupButton | field}]
- selectedLine({[popupButton | field]})
- selectedLoc
- the selectedLoc
- selectedLoc()
- selectedText
- the selectedText [of {popupButton | field}]
- selectedText({[popupButton | field]})
- shiftKey
- sin
- [the] sin of angleInRadians
- sin(angleInRadians)
- sound
- speech
- sqrt
- [the] sqrt of number
- sqrt(number)
- stacks
- stackSpace
- the stackSpace
- stackSpace()
- sum
- systemVersion
- the systemVersion
- systemVersion()
- tan
- [the] tan of angleInRadians
- tan(angleInRadians)
- target
- the [short | abbr[ev[iated]] | long] target
- target
- ticks
- time
- the [long | abbr[ev[iated]] | short | English] time
- time()
- tool
- trunc
- [the] trunc of number
- trunc(number)
- value
- [the] value of factor
- value(expression)
- voices
- windows
Eigenschappen
- address
- the address [of HyperCard]
- allowBalloonHelp
- set [the] allowBalloonHelp of movie to {true | false}
- autoHilite
- set [the] autoHilite of button to {true | false}
- autoSelect
- set [the] autoSelect of field to {true | false}
- autoTab
- set [the] autotab of field to {true | false}
- backColor
- set [the] backColor of [spriteTrack of] movie to redValue,greenValue,blueValue
- badge
- set [the] badge of movie to {true | false}
- blindTyping
- set [the] blindTyping [of HyperCard] to {true | false}
- bottom
- set [the] bottom of {button | field | window | [object of] movie} to integer
- the bottom of {menubar | card}
- bottomRight
- set [the] bot[tom]Right of {button | field | window | [object of] movie} to point
- the bot[tom]Right of {menubar | card}
- brush
- set [the] brush [of HyperCard] to brushNumber
- buttonCount
- the buttonCount of window paletteWindow
- callbackMsg
- set [the] callbackMsg of movie to messageName
- callbackTime
- set [the] callbackTime of movie to time
- callbackWhenDragging
- set [the] callbackWhenDragging of movie to {true | false}
- cantAbort
- set [the] cantAbort of stack to {true | false}
- cantDelete
- set [the] cantDelete of {stack | background | card} to [true | false]
- cantModify
- set [the] cantModify of stack to {true | false}
- cantPeek
- set [the] cantPeek of stack to {true | false}
- centered
- set [the] centered [of HyperCard] to {true | false}
- characteristics
- the characteristics of track of movie
- checkMark
- set [the] checkMark of menuItem of menu to {true | false}
- closeOnFinish
- set [the] closeOnFinish of movie to {true | false}
- commandChar
- set [the] {commandChar | cmdChar} of menuItem to [character | empty]
- commands
- the commands of [{track | sprite | hotspot } of] movie
- the commands of window paletteWindow
- comments
- the comments of {node | hotspot} of] movie
- copyright
- currNodeID
- set [the] currNodeID of VRmovie to nodeNumber
- currTime
- set [the] currTime of movie to time
- cursor
- set [the] cursor [of HyperCard] to {cursorNumber | cursorName}
- cursorID
- set [the] cursorID of movie to resourceID
- debugger
- set [the] debugger [of HyperCard] to debuggerXCMD
- defaultNodeID
- the defaultNodeID of VRmovie
- defaultRect
- the defaultRect of [track of] movie
- dialingTime
- set [the] dialingTime [of HyperCard] to numberOfTicks
- dialingVolume
- set [the] dialingVolume [of HyperCard] to speakerVolume
- dithering
- set [the] dithering of pictureWindow to {true | false}
- dontErase
- set [the] dontErase of window movieWindow to {true | false}
- dontSearch
- set [the] dontSearch of {field | card | background} to {true | false}
- dontWrap
- set [the] dontWrap of field to {true | false}
- dragEnabled
- set [the] dragEnabled of movie to {true | false}
- dragSpeed
- set [the] dragSpeed [of HyperCard] to pixelsPerSecond
- duration
- the duration of [[scene of] track of] movie
- editBkgnd
- set [the] editBkgnd [of HyperCard] to {true | false}
- enabled
- set [the] enabled of {button | [menuItem of] menu | {hotspot | track} of movie} to {true | false}
- endTime
- set [the] endTime of movie to time
- the endTime of [scene of] track of movie
- environment
- the environment [of HyperCard]
- exporter
- set [the] exporter of [track of] movie to QTExportType
- exporters
- the exporters of [track of] movie
- family
- set [the] family of button to familyNumber
- fastIdle
- set [the] fastIdle of movie to {true | false}
- fieldOfView
- set [the] fieldOfView of VRmovie to angle
- fieldOfViewRange
- the fieldOfViewRange of VRmovie
- filled
- set [the] filled [of HyperCard] to {true | false}
- findTextCaseSensitive
- set [the] findTextCaseSensitive of movie to {true | false}
- findTextReverse
- set [the] findTextReverse of movie to {true | false}
- findTextStart
- set [the] findTextStart of movie to movieTime & return & trackNumber & return & charOffset
- findTextWraparound
- set [the] findTextWraparound of movie to {true | false}
- fixedLineHeight
- set [the] fixedLineHeight of field to {true | false}
- foundTextOffset
- the foundTextOffset of movie
- freeSize
- globalLoc
- set [the] globalLoc of pictureWindow to {point | mainScreen | cardScreen | deepestScreen | largestScreen}
- globalRect
- set [the] globalRect of pictureWindow to {left,top,right,bottom | cardScreen | mainScreen | largestScreen | deepestScreen}
- graphicsMode
- set [the] graphicsMode of {track | sprite} of movie to quickDrawMode & return & RGBColor
- grid
- set [the] grid [of HyperCard] to {true | false}
- hBarLoc
- set [the] hBarLoc of window "Variable Watcher" to number
- height
- set [the] height of {button | field | card | window | [controller of] movie} to integer
- the height of menubar
- hideIdle
- set [the] hideIdle of window "Message Watcher" to {true | false}
- hideUnused
- set [the] hideUnused of window "Message Watcher" to {true | false}
- highQualityMode
- set [the] highQualityMode of track of movie to {true | false}
- hilite
- set [the] [hilite | hilight | highlite | highlight] of button to {true | false}
- hilitedButton
- set [the] hilitedButton of window paletteWindow to buttonNumber
- icon
- set [the] icon of button to {iconName | resourceID}
- ID
- the [short | abbr[ev[iated]] | long] ID of {object | window | menu [track | scene | sprite | node | hotspot] of movie | HyperCard}
- idleFrequency
- set [the] idleFrequency of spriteTrack of movie to frequencyInTicks
- image
- set [the] image of sprite [of spriteTrack] of movie to {name | number}
- imageCorrection
- set [the] imageCorrection of VRmovie to {none | partial | full}
- imageCount
- the imageCount of scene of [track of] movie
- imageQuality
- set [the] imageQuality of VRmovie to {low | normal | high}
- information
- isVRMovie
- itemDelimiter
- set [the] itemDelimiter [of HyperCard] to character
- language
- set [the] language [of HyperCard] to {English | translatorName}
- set [the] language of movie to {languageName | languageNumber}
- the language of track of movie
- layer
- set [the] layer of {track | sprite} of movie to layerNumber
- left
- set [the] left of {button | field | window | [object of] movie} to integer
the left of {menubar | card}
- lineSize
- set [the] lineSize [of HyperCard] to thicknessInPixels
- linkDestination
- the linkDestination of hotSpot of [node of] VRmovie
- location
- set [the] loc[ation] of {button | field | card | window |[object of] movie} to point
- lockErrorDialogs
- set [the] lockErrorDialogs [of HyperCard] to {true | false}
- lockMessages
- set [the] lockMessages [of HyperCard] to {true | false}
set [the] lockMessages of movie to {true | false}
- lockRecent
- set [the] lockRecent [of HyperCard] to {true | false}
- lockScreen
- set [the] lockScreen [of HyperCard] to {true | false}
- set [the] lockScreen of movie to {true | false}
- lockText
- set [the] lockText of field to {true | false}
- longWindowTitles
- set [the] longWindowTitles [of HyperCard] to {true | false}
- loop
- set [the] loop of movie to {true | false}
- loopIsPalindrome
- set [the] loopIsPalindrome of movie to {true | false}
- markChar
- set [the] markChar of menuItem of menu to character
- marked
- set [the] marked of card to {true | false}
- mask
- set [the] mask of [track of] movie to {imageFileName | empty]
- matrix
- set [the] matrix of [{track | sprite} of] movie to {matrix | identity}
- menuMessage
- set [the] {menuMessage | menuMsg} of menuItem to messageName
- messages
- messageWatcher
- set [the] messageWatcher [of HyperCard] to messageWatcherXCMD
- missingComponents
- the missingComponents of movie
- movie
- set [the] movie of movieWindow to moviePath
- multiple
- set [the] multiple [of HyperCard] to {true | false}
- multipleLines
- set [the] multipleLines of field to {true | false}
- multiSpace
- set [the] multiSpace [of HyperCard] to spaceBetweenShapes
- mute
- set [the] mute of [audioTrack of] movie to {true | false}
- name
- set [the] name [of element] to newName
- the [English | short | abbr[ev[iated]] | long] name [of element]
- set [the] [English] name of menuItem of menu to newName
- the [English] name of menu
- nextLine
- set [the] nextLine of window "Message Watcher" to text
- number
- the [long | abbr[rev[iated]] | short] number of {part | card | bg | window | [object of] movie}
- number({field | button | card | bg | window | [object of] movie})
- numberFormat
- set [the] numberFormat [of HyperCard] to formatExpression
- owner
- the [long | short] owner of {window | card}
- the owner of [controller | [sprite of [scene of]] track of | [hotspot of] node of] movie
- panAngle
- set [the] panAngle of VRmovie to angleInDegrees
- panAngleRange
- the panAngleRange of VRmovie
- partNumber
- set [the] partNumber of {button | field} to number
- passMovieClick
- set [the] passMovieClick of movie to {true | false}
- pattern
- set [the] pattern [of HyperCard] to patternNumber
- pictureHeight
- the pictureHeight of pictureWindow
- pictureWidth
- the pictureWidth of pictureWindow
- polySides
- set [the] polySides [of HyperCard] to numberOfSides
- powerKeys
- set [the] powerKeys [of HyperCard] to {true | false}
- preferredLoc
- the preferredLoc of movie
- preferredRate
- the preferredRate of movie
- preferredSoundVolume
- the preferredSoundVolume of movie
- printMargins
- set [the] printMargins [of HyperCard] to left,top,right,bottom
- printTextAlign
- set [the] printTextAlign [of HyperCard] to alignment
- printTextFont
- set [the] printTextFont [of HyperCard] to fontName
- printTextHeight
- set [the] printTextHeight [of HyperCard] to pixelHeight
- printTextSize
- set [the] printTextSize [of HyperCard] to fontSize
- printTextStyle
- set [the] printTextStyle [of HyperCard] to styleList
- properties
- the properties of externalWindow
- the properties of [{track | scene | sprite | node | hotspot | controller} of] movie
- rate
- set [the] rate of movie to rate
- rectangle
- set the rect[angle] of {part | card | card window | [object of] movie} to left,top,right,bottom
- the rect[angle] of {window | menubar}
- reportTemplates
- the reportTemplates of stack
- right
- set [the] right of {button | field | card | window | [object of] movie} to integer
- the right of {menubar | card}
- scale
- set [the] scale of [{sprite | track} of] movie to {half | normal | double | fullscreen | horizScale [,vertScale]}
- set [the] scale of pictureWindow to integer
- scaleMedia
- set [the] scaleMedia of spriteTrack of movie to {true | false}
- script
- set [the] script of object to scriptText
- scriptEditor
- set [the] scriptEditor [of HyperCard] to scriptXCMD
- scriptingLanguage
- set [the] scriptingLanguage [of object] to scriptingLanguage
- scriptTextFont
- set [the] scriptTextFont [of HyperCard] to fontName
- scriptTextSize
- set [the] scriptTextSize [of HyperCard] to pointSize
- scroll
- set [the] scroll of scrollingField to integer
- set [the] scroll of window to horizOffset,vertOffset
- seeAllFrames
- set [the] seeAllFrames of movie to {true | false}
- sendMouseWithinMsg
- set [the] sendMouseWithinMsg of movie to {true | false}
- sharedHilite
- set [the] sharedHilite of backgroundButton to {true | false}
- sharedText
- set [the] sharedText of backgroundField to {true | false}
- showHotspots
- set [the] showHotspots of controller of VRmovie to {true | false}
- showLines
- set [the] showLines of field to {true | false}
- showName
- set [the] showName of button to {true | false}
- showPict
- set [the] showPict of {card | background} to {true | false}
- size
- the size of {stack | [ {track | sprite} of] movie }
- soundBalance
- set [the] soundBalance of soundTrack of movie to integer
- soundChannel
- set [the] soundChannel to channelNumber
- soundOutputComponent
- set [the] soundOutputComponent of soundTrack of movie to {componentName | componentNumber}
- soundVolume
- set [the] soundVolume of [track of] movie to level
- stacksInUse
- the stacksInUse [of HyperCard]
- startTime
- set [the] endTime of [track of] movie to time
- the endTime of scene of movie
- style
- set [the] style of part to style
- suppressHotspotNames
- set [the] suppressHotspotNames [of controller] of VRmovie to {true | false}
- suspended
- the suspended [of HyperCard]
- text
- set [the] text of window "Message Watcher" to text
- the text of track of movie
- textAlign
- set [the] textAlign [of HyperCard | of {button | field}] to alignment
- textArrows
- set [the] textArrows [of HyperCard] to {true | false}
- textFont
- set [the] textFont [of HyperCard | of message | of button | of {chunk of} field] to fontName
- textHeight
- set [the] textHeight [of HyperCard | of field | of button] to pixelHeight
- textSize
- set [the] textSize [of HyperCard | of message | of button | of {chunk of} field] to fontSize
- textStyle
- set [the] textStyle [of HyperCard | of message | of button | of {chunk of} field | of menuItem] to styleList
- tiltAngle
- set [the] tiltAngle of VRmovie to angleInDegrees
- tiltAngleRange
- the tiltAngleRange of VRmovie
- timeFormat
- set [the] timeFormat of movie to {SystemTime | MovieTime}
- timeScale
- titleWidth
- set [the] titleWidth of popupButton to pixelWidth
- top
- set [the] top of {button | field | window | [object of] movie} to integer
- the top of {menubar | card}
- topLeft
- set [the] topLeft of {button | field | window | [object of] movie} to location
- the topLeft of {menubar | card}
- traceDelay
- set [the] traceDelay [of HyperCard] to delayTicks
- type
- the type of [{track | node | hotspot | controller} of] movie
- useCustomCLUT
- set [the] useCustomCLUT of movie to {true | false}
- userLevel
- set [the] userLevel [of HyperCard] to levelNumber
- userModify
- set [the] userModify [of HyperCard] to {true | false}
- variableWatcher
- set [the] variableWatcher [of HyperCard] to variableWatcherXCMD
- vBarLoc
- set [the] vBarLoc of window "Variable Watcher" to number
- version
- the [short | abbr[ev[iated]] | long] version [of {service | stack | scriptingLanguage language}]
- version(service | stack | scriptingLanguage language)
- visible
- set [the] visible of {button | field | window | menubar | [{sprite | spriteTrack | controller} of] movie} to {true | false}
- wideMargins
- set [the] wideMargins of field to {true | false}
- width
- set [the] width of {button | field | card | window | [object of] movie} to integer
- the width of menubar
- zoom
- set [the] zoom of pictureWindow to {in | out}
- zoomed
- set [the] zoomed of card window to {true | false}
- the zoomed of window
Operatoren
Arithmetic operators
Comparison operators
- =, is
- <>, is not
- <
- >
- <=
- >=
- contains
- is in
- is not in
- is within
- is not within
Logical operators
String operators
Type and existence operators
- is a
- data is [not] a[n] {number | integer | point | rect[angle] | date | logical}
- there is a
- there is [a[n] | not a[n] | no] {object | window | picture | disk | folder | file | movie | scriptingLanguage | application | document | menu | menuItem | program}
Constanten
- colon
- comma
- down
- empty
- false
- formFeed
- lineFeed
- pi
- quote
- return
- space
- tab
- true
- up
- zero
- one
- two
- three
- four
- five
- six
- seven
- eight
- nine
- ten
Voorbeeldvragen en -antwoorden
Vragen
- Welke can de volgende comamndo's is hetzelfde als (lock messages)?
- set the lockMessages to true
- set the lockMessages to false
- set the lockMessage to true
- set the lockMessage to false
- Welke van de volgende commando's is incorrect?
- go next
- go to next
- go next cd
- goto next cd
- Welk commando bevat incorrecte syntax?
- put the English name of this cd into theName
- put the international name of this cd into theName
- put the short name of this cd into theName
- put the long name of this cd into theName
- Wat geeft de vergelijking ("A" = "B")?
- false
- true
- 0
- 1
- Wat geeft de functie sin(0)?
- 0.5
- 1
- 0
- -1
Antwoorden
- a
- d
- b
- a
- c
Bibliografie
- Hieronder volgen, in willekeurige volgorde, de voor deze studiegids geraadpleegde bronnen. Doorgaans, doch niet altijd, zijn de meest recente edities gebruikt waarover de auteur heeft kunnen beschikken. Auteur en redactie stellen zich niet aansprakelijk voor enige onjuistheid in het oorspronkelijke materiaal. Onderstaande lijst is derhalve geenszins bindend en wordt onder voorbehoud ter beschikking gesteld aan de student.
- Getting Started: With HyperCard
- Apple Computer, Inc.
- 1995
- HyperCard: Reference Manual
- Apple Computer, Inc.
- 1993
- HyperCard: Script Language Guide
- Apple Computer, Inc.
- 1993
- HyperTalk 2.2: The Book
- Dan Winkler, Scot Kamins, and Jeanne DeVoto
- Random House, Inc.
- 1994
- ISBN 0-679-79171-X
- The Complete HyperCard 2.2 Handbook
- Danny Goodman
- Random House, Inc.
- 1993
- ISBN 0-679-79122-1
- HyperGames
- <http://WWW.HyperInfo.CA/HyperGames/>
- <mailto:Comments@HyperInfo.CA>
- HyperInfo Canada Inc.
- 1998
- ISBN 0-929105-25-7