Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » paramCount

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

paramCount

the paramCount

Value returned: a positive integer equal to the total number of parameters passed to the current handler

Demo Script

on paramDemo
showParams 1, "a", "this is fun", the number of cards
end paramDemo
on showParams
repeat with N = 0 to the paramCount
put N & ":" && space && param(N) & return after theMessage
end repeat
answer "The parameters are:" & return & return & theMessage
end showParams

Related Topics

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View