Author Topic: Working Motto  (Read 1202 times)

0 Members and 1 Guest are viewing this topic.

Offline qbkiller101

  • Newbie
  • Posts: 73
    • View Profile
Working Motto
« on: June 02, 2020, 10:04:22 am »
This is my motto :
DIM Coffee as cup of 20% caffeine
CLS
   DO
     DRINK Coffee AND StayAwake()
   LOOP UNTIL Code(Successful)

This is it working :)
Code: QB64: [Select]
  1. DIM Coffee AS LONG
  2.     _LIMIT 1
  3.     Drink "Coffee"
  4.     StayAwake
  5.     CodeSuccessfulornot
  6. LOOP UNTIL Code()
  7.  
  8.  
  9.  
  10. SUB Drink (WhatToDrink$)
  11.     PRINT "Coffee Supply Over"
  12.     PRINT
  13.  
  14. SUB StayAwake ()
  15.     PRINT "Dying from lack of sleep"
  16.     PRINT
  17.  
  18. SUB CodeSuccessfulornot
  19.     PRINT "You know that it never will work, don't you?"
  20.     PRINT

Offline _vince

  • Seasoned Forum Regular
  • Posts: 422
    • View Profile
Re: Working Motto
« Reply #1 on: June 02, 2020, 10:14:49 am »
Is your coffee 20% caffeine?

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Working Motto
« Reply #2 on: June 02, 2020, 11:27:00 am »
Fascinating.

Logic dictates that, whatever the caffeine level may be, coffee is a superior beverage that is 'far' from reproach and conclusively incapable of causing error.

My suggestion would be to look elsewhere for the causal effect.

How can anyone, in reasonable command of their faculties, even consider questioning the involvement of coffee in regards to being 'unsuccessful'. Highly illogical.

Side note: (factoid)

May I also suggest that, one switches to tea, as it contains only 11mg of caffeine per 100gms of tea.
Both the U.S Department of Agriculture and the European Food Safety Authority define 'a safe caffeine intake' as up to 400 mgs per day, 200 mgs per single dose, or 3mgs per kilo of body weight. One cup of coffee can contain 47mg of caffeine but can contain as much as 90mg. Whereas tea contains 20-45gms per cup.
Logic is the beginning of wisdom.

Offline qbkiller101

  • Newbie
  • Posts: 73
    • View Profile
Re: Working Motto
« Reply #3 on: June 02, 2020, 11:54:55 am »
@_vince @johnno56
lol lol
I don't drink coffee I'm 12 years old and its 20% caffeine cuz that's the average

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Working Motto
« Reply #4 on: June 03, 2020, 10:25:38 am »
qbkiller101,

12... Interesting.

When I was 12 (1968), we didn't have any computers in the home, that wouldn't happen for another 17 years.
You are SO lucky to be learning how to program at your age. Enjoy it and have fun...

J
Logic is the beginning of wisdom.