David Blume commited on 2018-12-05 16:07:43
Showing 2 changed files, with 8 additions and 2 deletions.
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-sub Main() |
|
1 |
+sub Main(launchParams) |
|
2 | 2 |
' Indicate this is a Roku SceneGraph application' |
3 | 3 |
screen = CreateObject("roSGScreen") |
4 | 4 |
m.port = CreateObject("roMessagePort") |
... | ... |
@@ -8,6 +8,12 @@ sub Main() |
8 | 8 |
m.scene = screen.CreateScene("IPTagger") |
9 | 9 |
screen.show() |
10 | 10 |
|
11 |
+ ' Just to test various ECP params |
|
12 |
+ print "Launch parameters:" |
|
13 |
+ for each key in launchParams |
|
14 |
+ print " " key "=" launchParams[key] |
|
15 |
+ end for |
|
16 |
+ |
|
11 | 17 |
while(true) |
12 | 18 |
msg = wait(0, m.port) |
13 | 19 |
msgType = type(msg) |
14 | 20 |