| Thread Closed |
Ti BASIC :: User defined fucntion use in a program |
Share Thread | Thread Tools |
| Mar13-10, 03:06 PM | #1 |
|
|
Ti BASIC :: User defined fucntion use in a program
I am trying to figure out why Ti BASIC is the worst language ever. Every other language, if you want to use a user defined function within a user defined program, you simply write the function above (or below) the sub routine and then you can call it to your hearts delight...why is Ti BASIC failing me here? (I am using Ti89 Titanium.)
All I want to do is a simple test here. Here is a user defined function that simply take an argument and then returns that argument (and this works if I type it directly into my calculator) Code:
Func newdisp(stuff) Return Stuff EndFunc Code:
() Prgm newdisp(100) EndPrgm Code:
Func newdisp(stuff) Return Stuff EndFunc () Prgm newdisp(100) EndPrgm or maybe Code:
() Prgm newdisp(100) EndPrgm Func newdisp(stuff) Return Stuff EndFunc Any thoughts? |
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| Mar13-10, 09:30 PM | #2 |
|
|
Any ideas on this one?
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Ti BASIC :: User defined fucntion use in a program
|
||||
| Thread | Forum | Replies | ||
| Record user input outside a program in c++. | Programming & Comp Sci | 0 | ||
| How to program user-defined PDEs by using COMSOL Script? | Differential Equations | 0 | ||
| computing derivatives/integrals of user-defined functions | Programming & Comp Sci | 3 | ||
| a matlab question(about user defined functions) | Math & Science Software | 0 | ||
| Play WAV files from a VB program to improve user interaction | Computing & Technology | 0 | ||