Search found 3 matches

by Jota de Sousa
Mon Dec 17, 2007 11:36 am
Forum: QBASIC and QB64 Questions & Answers
Topic: IF instruction doesn't work?
Replies: 9
Views: 10497

The IF Statement

Thanks to Mac. In fact, I had never noticed this error because I have never entered decimal values, only integers. Although the printing sugested by Mac gave 2.8, 2,8 they were not equal. One of them was a SINGLE variable and the other a DOUBLE one. This is now working fine. There are many errors ( ...
by Jota de Sousa
Sun Dec 16, 2007 4:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: IF instruction doesn't work?
Replies: 9
Views: 10497

The bloody IF statment

Hi Everybody! Sorry to bother you again. I have tried everything possible. The program works fine with GWBASIC and worked also with QBASIC since two weeks ago. The instruction IF with the same value on CLO(I) and CL(I) recognizes, in fact, that CLO(I) is greater than CL(I). This is not possible for ...
by Jota de Sousa
Sat Dec 15, 2007 7:40 am
Forum: QBASIC and QB64 Questions & Answers
Topic: IF instruction doesn't work?
Replies: 9
Views: 10497

IF instruction doesn't work?

I have this piece of code. When I input equal values for CLO(I) and CL(I) the program recognizes them as CLO(I) > CL(I). I tried many other options and they didn't work. I removed the line 1280 and the application doesn't make the calculations. Any help? What I am doing wrong? This an adapted code f...