Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. 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

« param | HyperTalk Reference | params »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. 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

« param | HyperTalk Reference | params »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View