What it does
LocalNotification writes to an Extras object: it sets rather than reads. It takes iID (an integer), datetime (an integer) and szMessage (a string), and returns nothing. That is the first of 2 forms.
Syntax
1
LocalNotification(iID integer, datetime integer, szMessage string)2
LocalNotification(iID integer, datetime integer, szMessage string, szDeepLink string)Parameters
| Name | Type | In forms |
|---|---|---|
| iID | integer | all |
| datetime | integer | all |
| szMessage | string | all |
| szDeepLink | string | 2 |
Every form returns
nothing
Example · generated
Form 1, the short one
LocalNotification(1, 1, "hello")DO Sync()LOOPForm 2, with every argument
LocalNotification(1, 1, "hello", "value")DO Sync()LOOPLocalNotification is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.