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

Username:   Password: 
 RegisterRegister   
 Turing 4.0.5?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Flikerator




PostPosted: Fri Sep 09, 2005 10:34 am   Post subject: Turing 4.0.5?

At school we have 4.0.4 and it doesn't have Math.Distance() and I need it for my program that i made at school (Yes i used it without being able to....use it). So I went to "update latest version" and it says on the holtsoft site that "4.0.4" is the latest version when i have 4.0.5 at home :/

What is going on?

EDIT - I may not have turing 4.0.5 at home but it has a bunch of functions like Math.Distance that this version doesn't.
Sponsor
Sponsor
Sponsor
sponsor
StarGateSG-1




PostPosted: Fri Sep 09, 2005 11:11 am   Post subject: (No subject)

First on That has been a problem on there site for several years now, my advice, wouls be to talk to your teacher and maybe he can get in contact with Holt, other than that you will have to try something else.
[Gandalf]




PostPosted: Fri Sep 09, 2005 3:02 pm   Post subject: (No subject)

The newest version IS 4.0.4, it's 4.0.4d (4.0.5).

If you need to use Math.Distance then just make your own MathDistance function:

Turing:
function MathDistance (x1, y1, x2, y2 : real) : real
    var dx : real := x1 - x2
    var dy : real := y1 - y2
    result sqrt (dx * dx + dy * dy)
end Distance
Flikerator




PostPosted: Fri Sep 09, 2005 5:31 pm   Post subject: (No subject)

Alright, thanks for the function.

When I goto Help and then "About Turing" it says 4.0.5 with no d or anything so i just assumed thats what it is.

We had Math.Distance last year, I assume when they wiped the network they installed the wrong version.
[Gandalf]




PostPosted: Fri Sep 09, 2005 7:38 pm   Post subject: (No subject)

No problem Smile.

Interesting, maybe someone was just messing around with the Turing files...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: