Re: Overloading on the TI-89


[Prev][Next][Index][Thread]

Re: Overloading on the TI-89



David M. Reich wrote in message <36353BA7.F7BC174F@students.wisc.edu>...
>I just bought a TI-89, which is a great calc... but the manuel stinks
>royally.  While I have puzzled most things out, I was wondering if it
>was possible to "overload" user defined functions.  (if you don't know
>overloading is making a function accept multiple different arguments or
>arguments of different types  for instance take the functions avg


The 89 doesn't allow optional arguments.  You have to define a function to
take a fixed number of arguments and must call it with that number of
arguments.  Try putting your arguments in an array and passing that to the
function.

Tom Lake


References: