Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: Augs on September 05, 2012, 12:16:03 pm

Title: What does this mean?
Post by: Augs 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?
Title: Re: What does this mean?
Post by: Adriweb on September 05, 2012, 01:10:46 pm
It's platform.window:invalidate(), not platform.window.invalidate()
Title: Re: What does this mean?
Post by: someone 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.