Author Topic: Help with on.help  (Read 8571 times)

0 Members and 1 Guest are viewing this topic.

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Help with on.help
« on: April 29, 2012, 07:08:08 pm »
It seems like the on.help() event doesn't work.

Code: [Select]
function on.paint(gc)
 if helps then
  gc:drawString("Help",50,50)
 end
end

function on.help()
 helps = true
 platform.window:invalidate()
end

Nothing happens when you press Ctrl+H, I've tested this both on-calc and with nspire_emu. Any ideas?

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Help with on.help
« Reply #1 on: April 30, 2012, 02:44:48 am »
well, it's not really [ctrl][h], but [ctrl][trig], the button with that blue "?" above :)

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Help with on.help
« Reply #2 on: April 30, 2012, 07:10:25 pm »
Oh! Thank you for explaining! Somebody should fix that on Inspired Lua, it's wrong there.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Help with on.help
« Reply #3 on: May 01, 2012, 06:42:36 am »
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Help with on.help
« Reply #4 on: May 01, 2012, 07:57:57 am »
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?

A generic means to get information/help in a program, similar to F1, would be my guess.
Omnimaga Admin

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Help with on.help
« Reply #5 on: May 01, 2012, 08:53:32 am »
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?

Please report them, really.
Any non-complete/wrong/missing/not-good-enough...

Thanks in advance !

Anyway, will fix that one right now.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Help with on.help
« Reply #6 on: May 01, 2012, 04:45:36 pm »
So what's the usefulness of on.help when you have to press two buttons to access it?
Yeah it's basically to get help. It's a prebuilt event, so why not use it? Other than the fact some might not be able to figure that out. Luckily, there's going to be a readme.
« Last Edit: May 03, 2012, 05:42:24 pm by cyanophycean314 »

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Help with on.help
« Reply #7 on: May 03, 2012, 05:42:38 pm »
Is there any way to access the on.help event through nspire_emu, because I don't see a trig button...

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Help with on.help
« Reply #8 on: May 03, 2012, 05:45:33 pm »
Is there any way to access the on.help event through nspire_emu, because I don't see a trig button...
Choose the Touchpad Keyboard ?
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation