Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Roondak on October 11, 2013, 05:52:22 pm

Title: [Nspire] Optional arguments
Post by: Roondak on October 11, 2013, 05:52:22 pm
So I was programming in TI-Nspire BASIC, and I was wondering if there was a way to specify an optional argument in a program. The built-in functions have these, so I was wondering if TI implemented it for user-created functions.
Title: Re: [Nspire] Optional arguments
Post by: Adriweb on October 11, 2013, 06:02:03 pm
Nope, sorry :(

(Although you may try passing a table and take what's inside)
Title: Re: [Nspire] Optional arguments
Post by: Roondak on October 11, 2013, 06:03:42 pm
Nope, sorry :(

(Although you may try passing a table and take what's inside)
You mean taking in a list/matrix as an argument?
Title: Re: [Nspire] Optional arguments
Post by: Loulou 54 on October 11, 2013, 06:34:11 pm
Yes, or a string, so you can handle the optional argument thing yourself in your program.