LocalNotification

Family: Extras · 2 forms

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

NameTypeIn forms
iIDintegerall
datetimeintegerall
szMessagestringall
szDeepLinkstring2

Every form returns

nothing

Example · generated

Form 1, the short one

LocalNotification(1, 1, "hello")DO  Sync()LOOP

Form 2, with every argument

LocalNotification(1, 1, "hello", "value")DO  Sync()LOOP

LocalNotification 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.

21 commands in Extras