I received the TI-Nspire for Christmas. I have been programming my Ti-84 for a year and a half. I have learned some of the differences in syntax and decided to make a public function called quorem, which takes two parameters, n and d. The function displays the quotient with the remainder in the format quo r rem, which is desired, but then it displays the remainder a second time. I cannot figure out why this happens, but I know that this does not happen when the source code is placed inside the Prgm…EndPrgm, instead of the Func…EndFunc. I want it to be a function so that I can use it anywhere. Here is my source code:

```
Define LibPub quorum(n,d)=
Func
Local quotient
Local remainder
If n>d Then
quotient:=iPart(n/d)
remainder:=n-d*quotient
Else
quotient:=n/d
remainder:=0
EndIf
Disp quotient,"r",remainder
EndFunc
```

Thank you in advance for any help you offer. I will greatly appreciate it.