Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
on messageName [parameterList]
statements
end messageName
The on
keyword defines a new message handler of the specified name.
The optional parameterList
lets the handler receive values sent along with a message. HyperCard assigns each value to a parameter variable in the parameterList
.
on mouseUp
flashTheButton "bkgnd btn id 57",2
end mouseUp
on flashTheButton whichBtn, howMany
repeat for (howMany * 2) times
set the hilite of whichBtn to not the hilite of whichBtn
end repeat
end flashTheButton
calculateDebt
selectWholeLine
As in:
on calculateDebt
on selectWholeLine theLine, aContainer
result
as a variable name.) For example:var1
var1,var2,var3, var4
fieldName, N, numberOfCharacters
put "Hello world" -- built-in command
get total(field 1) -- function call
global HelpInfo -- keyword
Version 0.7b1 (March 24, 2022)