Author Topic: Re: how to make a loading module in qbasic/qb64 (fun thing i found on the net)  (Read 802 times)

0 Members and 1 Guest are viewing this topic.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Fine!
IMHO it is not stupid, just ASCII mode!
IMHO this is machine dependent!
Code: QB64: [Select]
  1.  FOR i = 1 TO 1233433
  2.         FOR m = 1 TO 12
  3.         NEXT m
  4.     NEXT i

today QB64 gives us the presents of _LIMIT and _DELAY.
In old time it was more accurate using custom functions like this one
Code: QB64: [Select]
  1.     PRINT TIMER; "   "; back
  2.     back = back + Wait(1)
  3. LOOP UNTIL back = 10
  4.  
  5. FUNCTION Wait (Waiting!)
  6.     start! = TIMER
  7.     WHILE TIMER - start! < Waiting!
  8.     WEND
  9.     Wait = 1
  10.  
Programming isn't difficult, only it's  consuming time and coffee

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: how to make a loading module in qbasic/qb64 (fun thing i found on the net)
« Reply #1 on: November 24, 2019, 05:39:04 pm »
Good one!
 good port to QB64!
Programming isn't difficult, only it's  consuming time and coffee