Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ryster

Pages: [1] 2 3 ... 5
1
I actually tested with an older 32-bit version. After all, there were no test restrictions :). It is currently still the best last 32-bit version to be released so far. The next newer 32-bit versions couldn't handle my code. I am currently using the 64-bit version because none of the newer 32-bit versions, as well as the older one in question, can compile due to the size of the code. For those interested -> in the upper left corner of the window is the coat of arms of my country :).
Applies to: QB64x32 v 0.82

3
will recursion still work?
Code: QB64: [Select]
  1. Print Factorial_Recursive&&(5)
  2.  
  3. Function Factorial_Recursive&& (n As Integer)
  4.     If n = 0 Then Factorial_Recursive&& = 1: Exit Function
  5.     Factorial_Recursive&& = n * Factorial_Recursive&&(n - 1)
  6.  

Is that a question for me?
If so, it displays the result 120 after compilation

4

Is that a question for me?
If so, it displays the result 120 after compilation

5
Hello
What's the problem?.
For me it displays as a result of compilation: 5 stars and 1

6
QB64 Discussion / Re: code ASCII
« on: September 03, 2021, 09:44:39 am »
I can't believe it how could I have missed it. I need to change my glasses. Thank you for explaining the visual problem.

Thank You: Piotr (neighbor), bplus, SMcNeill.
Regards

7
QB64 Discussion / Re: code ASCII
« on: September 02, 2021, 03:44:58 pm »
Thank you. What you've changed that now displays properly. I can't see myself.

8
QB64 Discussion / Re: code ASCII
« on: September 02, 2021, 03:34:11 pm »
Děkuji. Nyní se zobrazuje dobře. Co jste ale v kódu změnili, nemohu zjistit.

> Thank you. It is now showing well. But I can't find out what you've changed in the code.

9
QB64 Discussion / code ASCII
« on: September 02, 2021, 02:51:33 pm »
Hello.
Maybe someone will look at the code. Well, it shows me two letters instead of one under the CHR $ code (136).
Thanks

Code: QB64: [Select]
  1. _TITLE "Calendarium"
  2. SCREEN _NEWIMAGE(130, 45, 0)
  3. IF X < 1400 THEN Fontsize = 16 ELSE Fontsize = 18
  4. _FONT _LOADFONT("C:\Windows\Fonts\lucon.ttf", Fontsize, "MONOSPACE")
  5. RESTORE Microsoft_pc_cp852
  6. FOR ascii = 128 TO 255
  7.     READ unicode&
  8.     IF unicode& = 0 THEN unicode& = 9744
  9.     _MAPUNICODE unicode& TO ascii
  10. COLOR 10, 1
  11. PRINT " "
  12. PRINT " "
  13. PRINT "                                            ----------------------------------------------------"
  14. PRINT "                                              Program do obliczania element" + CHR$(162) + "w odcinka ko" + CHR$(136) + "ˆowego"
  15. PRINT "                                            ----------------------------------------------------"
  16. PRINT " "
  17. Microsoft_pc_cp852:
  18. DATA 199,252,233,226,228,367,263,231,322,235,336,337,238,377,196,262
  19. DATA 201,313,314,244,246,317,318,346,347,214,220,356,357,321,215,269
  20. DATA 225,237,243,250,260,261,381,382,280,281,172,378,268,351,171,187
  21. DATA 9617,9618,9619,9474,9508,193,194,282,350,9571,9553,9559,9565,379,380,9488
  22. DATA 9492,9524,9516,9500,9472,9532,258,259,9562,9556,9577,9574,9568,9552,9580,164
  23. DATA 273,272,270,203,271,327,205,206,283,9496,9484,9608,9604,354,366,9600
  24. DATA 211,223,212,323,324,328,352,353,340,218,341,368,253,221,355,180
  25. DATA 173,733,731,711,728,167,247,184,176,168,729,369,344,345,9632,160
  26. SUB PrintIt (a$)
  27.     PrintIt a$

10
QB64 Discussion / Re: name already in use...
« on: March 02, 2021, 02:28:38 pm »
SMcNeill knows what I mean. It disturbs me in programming (you must always remember). Perhaps it cannot be improved.

11
QB64 Discussion / name already in use...
« on: March 02, 2021, 01:58:39 pm »
Hello.
Can anything be done about this problem?. Must it be like this for eternity.
S# =

12
QB64 Discussion / Re: Calculation error.
« on: February 26, 2021, 05:38:06 pm »
Double precision successfully solved the problem. The calculation is now valid on the 64-bit version. This error appeared sporadically, therefore it was difficult to notice it. It only occurred with certain numerical values. For example, the calculations for 1990 are correct and 2021 are incorrect. Thanks for your willingness to help.
Regards - Ryster

13
QB64 Discussion / Re: Calculation error.
« on: February 26, 2021, 02:46:10 pm »
In my free time I will test and inform.

Regards - Ryster

14
QB64 Discussion / Re: Calculation error.
« on: February 26, 2021, 02:32:30 pm »
Thanks to SMcNeill, it is just like you wrote.
Regards - Ryster

15
QB64 Discussion / Re: Calculation error.
« on: February 26, 2021, 02:18:55 pm »
Perhaps this problem has already been raised. As I wrote. With the same input data, the result is different. Except that the 32-bit version counts correctly. I suspect a different rounding procedure inside the 64 bit compiler.

Pages: [1] 2 3 ... 5