Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Simple Graphing Program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Slaivis




PostPosted: 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!



PISU[D].T
 Description:
Have fun!

Download
 Filename:  PISU[D].T
 Filesize:  7.98 KB
 Downloaded:  182 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
aldreneo




PostPosted: Tue Jun 20, 2006 10:04 am   Post subject: (No 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?
Delos




PostPosted: Tue Jun 20, 2006 10:17 am   Post subject: (No 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.
Slaivis




PostPosted: Tue Jun 20, 2006 2:28 pm   Post subject: (No 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.
Clayton




PostPosted: Tue Jun 20, 2006 2:46 pm   Post subject: (No subject)

what version are you using? because i think arctan or tand or something to that effect might work.... try it out and see Very Happy
Slaivis




PostPosted: Thu Jun 22, 2006 2:09 pm   Post subject: (No 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 Very Happy


Wait? Was this post directed at me...?
aldreneo




PostPosted: Thu Jun 22, 2006 3:30 pm   Post subject: (No subject)

I was using 4.0.1c
I have 4.0.5 now
Slaivis




PostPosted: Thu Jun 22, 2006 3:56 pm   Post subject: (No 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.
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Thu Jun 22, 2006 4:54 pm   Post subject: (No 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.
Slaivis




PostPosted: Thu Jun 22, 2006 5:02 pm   Post subject: (No 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.
the_short1




PostPosted: Sat Jun 24, 2006 11:59 am   Post subject: (No subject)

Very nice.. i used 4.0.5... good interface and smooth lines! . . +bits
little suggestion: try commenting some code Wink
Slaivis




PostPosted: Sat Jun 24, 2006 5:16 pm   Post subject: (No subject)

the_short1 wrote:
Very nice.. i used 4.0.5... good interface and smooth lines! . . +bits
little suggestion: try commenting some code Wink


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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: