Search found 3 matches

by ohcan_ognara
Sat Jan 12, 2019 8:53 pm
Forum: Software & Programming
Topic: Bug in QL C - Lattice C?
Replies: 4
Views: 2413

Re: Bug in QL C - Lattice C?

Thanks Norm and XorA.

Indeed both solutions work. I was a little confused since the very same code worked on Lattice 3.04 (Atari ST). It seems as you stated correctly that Lattice 3.02 (QL) is not able to promote ints to doubles correctly.

Thank you guys!
by ohcan_ognara
Sat Jan 12, 2019 6:12 pm
Forum: Software & Programming
Topic: Bug in QL C - Lattice C?
Replies: 4
Views: 2413

Bug in QL C - Lattice C?

Hello After 30 years or more I've come back to QL playing with ancient QLC. I'm using the POW() function but it seems I've never been able to obtain correct results. This little program below returns 1.000000 whereas it should return 4.000000. Is that a bug or do you thing I'm doing something wrong....
by ohcan_ognara
Tue Nov 08, 2016 8:39 pm
Forum: Software & Programming
Topic: Implementing Trap # 3 SO.POINT
Replies: 0
Views: 1349

Implementing Trap # 3 SO.POINT

Hello all. just for nostalgic reasons I'm using Metacomco QL C to implement a plot routine using Trap # 3, SO.POINT as per the code below. I think i'm following all the parameters described in the QL Technical guide. However, when running the program, no matter what the coordinates I use for x and y...