{"id":3788,"date":"2025-04-21T09:47:34","date_gmt":"2025-04-21T09:47:34","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=3788"},"modified":"2025-06-10T05:48:58","modified_gmt":"2025-06-10T05:48:58","slug":"intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/","title":{"rendered":"# IntInputEvent(t|p:&#8221;Prompt&#8221;{, L:Min}{, h:Max}, ev:EventHandler) hash function"},"content":{"rendered":"\n<p>Valid for use with hash command:\u00a0<code><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/\">HMI<\/a> <\/code>Arguments may be specified as\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/namevalue-pairs-in-hash-functions\/\">Name:Value Pairs<\/a><\/p>\n\n\n\n<p>Implemented on the following platforms: HMi430, Android, Windows<\/p>\n\n\n\n<p>Gets the user to enter an unsigned integer number.<\/p>\n\n\n\n<p>When executes this will generate a pop-up that prompts the\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o5369\">Enduser<\/a>\u00a0to supply a number. The parameter\u00a0<code>\"Prompt\"<\/code>\u00a0is a text string that will be presented to the user.\u00a0<code>Min<\/code>\u00a0and\u00a0<code>Max<\/code>\u00a0are optional upper and lower limits.\u00a0<code>EventHandler<\/code>\u00a0is the line label of a subroutine you must supply that handles the response.<\/p>\n\n\n\n<p>The&nbsp;<code>Min<\/code>&nbsp;and&nbsp;<code>Max<\/code>&nbsp;limits, if supplied, are enforced such that the enduser cannot &#8220;OK&#8221; a value that lies outside the limits. If not supplied&nbsp;<code>Min<\/code>&nbsp;is 0 and&nbsp;<code>Max<\/code>&nbsp;is 999,999,999.<\/p>\n\n\n\n<p>When your event handler is called,&nbsp;<code><a href=\"https:\/\/www.splatco.com\/skb\/352.htm#o3808\">X<\/a><\/code>&nbsp;will indicate if the enduser entered a number (<code>X <\/code>= True) or clicked Cancel (<code>X<\/code>&nbsp;= False). If a number was entered, it will be in&nbsp;<code>W<\/code>.<\/p>\n\n\n\n<p>Sample code snippet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        #<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o5243\">HMI<\/a> IntInputEvent(p:\"Delay time\", l:25, h:250, ev:evSetDelay)<br><br>...<br><br>evSetDelay:     ;Handle user's change of delay time. X is False if user hit cancel. Answer is in W<br>        RetIfF          ; r\/ user cancelled    <br>        fStoreW         fDelayTime      ;I can just save it, because IntInputEvent already filtered out-of-range values<br>        Return <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Valid for use with hash command:\u00a0HMI Arguments may be specified as\u00a0Name:Value Pairs Implemented on the following platforms: HMi430, Android, Windows Gets the user to enter&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3768,"menu_order":11,"template":"","class_list":["post-3788","spl_knowledgebase","type-spl_knowledgebase","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title># IntInputEvent(t|p:&quot;Prompt&quot;{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"# IntInputEvent(t|p:&quot;Prompt&quot;{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"Valid for use with hash command:\u00a0HMI Arguments may be specified as\u00a0Name:Value Pairs Implemented on the following platforms: HMi430, Android, Windows Gets the user to enter...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T05:48:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/\",\"name\":\"# IntInputEvent(t|p:\\\"Prompt\\\"{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-21T09:47:34+00:00\",\"dateModified\":\"2025-06-10T05:48:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deprecated\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"# HMI Android &#038; Windows\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"# IntInputEvent(t|p:&#8221;Prompt&#8221;{, L:Min}{, h:Max}, ev:EventHandler) hash function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"# IntInputEvent(t|p:\"Prompt\"{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"# IntInputEvent(t|p:\"Prompt\"{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls","og_description":"Valid for use with hash command:\u00a0HMI Arguments may be specified as\u00a0Name:Value Pairs Implemented on the following platforms: HMi430, Android, Windows Gets the user to enter...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T05:48:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/","name":"# IntInputEvent(t|p:\"Prompt\"{, L:Min}{, h:Max}, ev:EventHandler) hash function - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-21T09:47:34+00:00","dateModified":"2025-06-10T05:48:58+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/intinputeventtpprompt-lmin-hmax-eveventhandler-hash-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Deprecated","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/"},{"@type":"ListItem","position":3,"name":"# HMI Android &#038; Windows","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/deprecated\/hmi-android-windows\/"},{"@type":"ListItem","position":4,"name":"# IntInputEvent(t|p:&#8221;Prompt&#8221;{, L:Min}{, h:Max}, ev:EventHandler) hash function"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/spl_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"up":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3768"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=3788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}