{"identifier":59877,"topic":"Functions","name":"number","text":"<code>the number of <\/code>[<code>card<\/code>]<code> {buttons|parts} the number of bkgnd {buttons|parts} the number of card fields the number of <\/code>[<code>bkgnd<\/code>]<code> fields <br><br>\n\n the number of marked cards the number of cards <\/code>[<code>in <i>bkgnd<\/i><\/code> ] \u00ac         [<code>of this stack<\/code>] <code>the number of bkgnds<\/code> [<code>of this stack<\/code>] <code><pre>\nthe number of windows\nthe number of menus\nthe number of menuItems of <i>menu<\/i>\nthe number of <i>chunks<\/i> in <i>expression<\/i><\/pre><\/code> <br>\n<br>\nValues returned: A non-negative integer equal to one of the following: <br><br>\n\n \u2022 total number of buttons <u>or<\/u> fields      on the current card or background <br><br>\n\n \u2022 total number of parts (buttons <u>and<\/u>      fields combined) on the current card      or background <br><br>\n\n \u2022 total number of marked cards,      cards in a specific background,      cards in an entire stack, or      backgrounds in a stack <br>\n","related":{"24266":null,"32809":null,"73264":"ID\u00a0","77648":"name","77883":"number (property)"},"examples":"","demo":"on numberOfChunks\n   get bkgnd field \"Demo Script\"\n   answer \"There are\" && the <b>number<\/b> of lines in it && \u00ac\n   \"lines and\" && the <b>number<\/b> of words in it && \"words and\" && \u00ac\n   the <b>number<\/b> of characters in it && \"characters in this handler.\"\n end numberOfChunks\n ","debug":{"9":["the number of [card]"],"10":["Values returned: A n"]}}