Computer Science Canada Simple Graphing Program |
Author: | Slaivis [ Mon Jun 19, 2006 11:05 pm ] |
Post subject: | Simple Graphing Program |
This is a program I made as a final project for one of my classes. It should be easy enough to use, so please take a look at it and tell me what you think! |
Author: | aldreneo [ Tue Jun 20, 2006 10:04 am ] |
Post subject: | |
I got 'tan' has not been declared I declared it as real and I got 'tan' cannot have subscripts I declared it as string and I got Substring range must be int type I declared it as int and I got 'tan' cannot have subscripts What version of turing is this written in? |
Author: | Delos [ Tue Jun 20, 2006 10:17 am ] |
Post subject: | |
'tan' is a function, not a variable. If it doesn't exist, simply recreate the function - I believe the very code you're looking for is floating around somewhere...and yes, this is simply a version-compatibility situation. |
Author: | Slaivis [ Tue Jun 20, 2006 2:28 pm ] |
Post subject: | |
Yes, it's a version compatability problem. I had the same problem when I tried to open the program up at school. The program should work fine if you comment everything in the process "tangent", but not the actual procedure declaration. That way, the program will work exactly the same way in every respect. except that if you try to graph tan, nothing will happen. |
Author: | Clayton [ Tue Jun 20, 2006 2:46 pm ] |
Post subject: | |
what version are you using? because i think arctan or tand or something to that effect might work.... try it out and see ![]() |
Author: | Slaivis [ Thu Jun 22, 2006 2:09 pm ] |
Post subject: | |
SuperFreak82 wrote: what version are you using? because i think arctan or tand or something to that effect might work.... try it out and see
![]() Wait? Was this post directed at me...? |
Author: | aldreneo [ Thu Jun 22, 2006 3:30 pm ] |
Post subject: | |
I was using 4.0.1c I have 4.0.5 now |
Author: | Slaivis [ Thu Jun 22, 2006 3:56 pm ] |
Post subject: | |
aldreneo wrote: I was using 4.0.1c
I have 4.0.5 now 4.0.5 should work with my program. I believe I have something like 4.0.3 .... I'm not entirely sure. Is there any specific way to check it so that I may find out should I need to know? - Thanks. |
Author: | [Gandalf] [ Thu Jun 22, 2006 4:54 pm ] |
Post subject: | |
1. Open Turing. 2. If a popup comes up, then it shows the version near the bottom, if not, continue with these steps. 3. Go to Help -> About Turing. 4. The same popup I referred to earlier should appear, there's your version. |
Author: | Slaivis [ Thu Jun 22, 2006 5:02 pm ] |
Post subject: | |
[Gandalf] wrote: 1. Open Turing.
2. If a popup comes up, then it shows the version near the bottom, if not, continue with these steps. 3. Go to Help -> About Turing. 4. The same popup I referred to earlier should appear, there's your version. Aha! Thank you very much! Apparently I am using version 4.1. |
Author: | the_short1 [ Sat Jun 24, 2006 11:59 am ] |
Post subject: | |
Very nice.. i used 4.0.5... good interface and smooth lines! . . +bits little suggestion: try commenting some code ![]() |
Author: | Slaivis [ Sat Jun 24, 2006 5:16 pm ] |
Post subject: | |
the_short1 wrote: Very nice.. i used 4.0.5... good interface and smooth lines! . . +bits
little suggestion: try commenting some code ![]() Thanks. There are a few slight glitches with the sliders after you clear the grid, though. I submitted the program as an ISU, but this must be the version of it before I threw in the comments. I'll comment my lines next time I post a program, though. Thanks |