Author Topic: [Nspire] Func EndFunc  (Read 2994 times)

0 Members and 1 Guest are viewing this topic.

Offline Roondak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +4/-3
    • View Profile
[Nspire] Func EndFunc
« on: October 22, 2013, 02:23:16 am »
On the Nspire, there's an option to add a Func...EndFunc into your program. My question is why? Can I use it to define a multiline function in my program or function?

Was wondering this because functional programming.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Nspire] Func EndFunc
« Reply #1 on: October 22, 2013, 04:31:40 am »
No, in fact its purpose is that you can can define a function right from the Calculator app, which can come in handy sometimes.
However, from the program editor, you choose either one (program or function) and you'll have to stick with it :P
« Last Edit: October 22, 2013, 04:32:09 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Roondak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +4/-3
    • View Profile
Re: [Nspire] Func EndFunc
« Reply #2 on: October 24, 2013, 10:28:12 pm »
No, in fact its purpose is that you can can define a function right from the Calculator app, which can come in handy sometimes.
However, from the program editor, you choose either one (program or function) and you'll have to stick with it :P
Thanks! I didn't realize you could define a multi-line function from the calculator app.