Author Topic: What does this mean?  (Read 2605 times)

0 Members and 1 Guest are viewing this topic.

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
What does this mean?
« on: September 05, 2012, 12:16:03 pm »
This screen pops up when I load my program. What does it mean and how do I fix it?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: What does this mean?
« Reply #1 on: September 05, 2012, 01:10:46 pm »
It's platform.window:invalidate(), not platform.window.invalidate()
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline someone

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +9/-0
    • View Profile
Re: What does this mean?
« Reply #2 on: September 05, 2012, 07:21:02 pm »
The difference between colon ( : ) and dot ( . ) is that the former one pass "self" as the first parameter.

So, platform.window:invalidate() should be equivalent to platform.window.invalidate(platform.window) & that's why is saying that the first argument is wrong on the image you posted.
« Last Edit: September 05, 2012, 07:21:32 pm by someone »