Search found 28 matches

by dinox
Mon Mar 06, 2017 11:59 am
Forum: Software & Programming
Topic: ATan2 Function
Replies: 10
Views: 5185

Re: ATan2 Function

Thanks for all the help. I've now also written a short function to simulate the ATan2 Function in SuperBasic which might be of use to others. 29380 DEFine FuNction ATan2 (y,x) 29390 LOCal answer 29400 IF x<>0 THEN arctan=ATAN(y/x) 29410 IF x>0 THEN answer=arctan 29420 IF y>=0 AND x<0 THEN answer= PI...
by dinox
Mon Jan 23, 2017 3:03 pm
Forum: Software & Programming
Topic: ATan2 Function
Replies: 10
Views: 5185

Re: ATan2 Function

There is a Maths Package at http://www.dilwyn.me.uk/tk/Maths_Package.zip whcih includes an ATN and ATN2. Never used it, so don't know if it does what you want, sorry. Assuming this is the same maths package as described in the SuperBASIC Reference Guide: ATN(x) - This functions is the same as the o...
by dinox
Mon Jan 23, 2017 2:02 pm
Forum: Software & Programming
Topic: ATan2 Function
Replies: 10
Views: 5185

ATan2 Function

Hi all, I've been using a function called ATan (Arc Tangent) in my programming but this introduces a problem when a zero is used since it crashes. Also it only works in 90 degree sectors (i.e. returns the same four results for 360 degrees). It looks like I should be using a function called ATan2 whi...
by dinox
Thu Dec 22, 2016 3:45 pm
Forum: The Welcome Area
Topic: Hello from Ellesmere Port.
Replies: 13
Views: 8290

Re: Hello from Ellesmere Port.

XorA wrote:
Derek_Stewart wrote:Hi,

I live in Runcorn, not far from Ellesmere Port.

Maybe have to arrange a get together, at a place with enough facilities for using QLs
QLForum 2017 NW meetup coming soon?
...or the QLForum.
by dinox
Thu Dec 22, 2016 3:43 pm
Forum: The Welcome Area
Topic: Hello from Ellesmere Port.
Replies: 13
Views: 8290

Re: Hello from Ellesmere Port.

Hi, I live in Runcorn, not far from Ellesmere Port. Maybe have to arrange a get together, at a place with enough facilities for using QLs Sounds good. My "QL" now runs on a small notebook pc so I can take it anywhere. Probably be the new year now though after we get all the xmas visiting ...
by dinox
Thu Dec 22, 2016 3:36 pm
Forum: The Welcome Area
Topic: Hello from Ellesmere Port.
Replies: 13
Views: 8290

Re: Hello from Ellesmere Port.

NormanDunbar wrote:Welcome!

Your book and website sound interesting, to me anyway! Do you have links?


Cheers,
Norm.
Sure. I describe an old version of my QL program here: http://www.dinox.org/eeprog.html

And there is a link to my book at the bottom.
by dinox
Wed Dec 21, 2016 4:05 pm
Forum: The Welcome Area
Topic: Hello from Ellesmere Port.
Replies: 13
Views: 8290

Re: Hello from Ellesmere Port.

Cheers! :D
by dinox
Wed Dec 21, 2016 12:02 pm
Forum: The Welcome Area
Topic: Hello from Ellesmere Port.
Replies: 13
Views: 8290

Hello from Ellesmere Port.

I’ve been meaning to join for ages! I got my first QL in the late 80s. I’d been hankering after one since they first came out but it was too expensive for me until they dropped in price. I soon upgraded the memory from 128k to 500k with a trump card within a few years. The programming language was t...