Author Topic: KeyCode 08  (Read 4597 times)

Offline matty47

  • Mr. Drawsprite
  • **
  • Posts: 71
    • View Profile
    • Matt and Marg's Homesite
KeyCode 08
« on: 2007-Dec-09 »
Hi,
just tried to use Key(08) and Key(09) in a program and the following error appeared for the latter

invalid digit "9" in octal constant

Key(10) seems to work OK
Thanks
Matthew

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5116
  • O Rly?
    • View Profile
KeyCode 08
« Reply #1 on: 2007-Dec-09 »
Key(8) or Key(9)

 ;)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline matty47

  • Mr. Drawsprite
  • **
  • Posts: 71
    • View Profile
    • Matt and Marg's Homesite
KeyCode 08
« Reply #2 on: 2007-Dec-09 »
Both return the error. Just the number in the error message changes
Matthew

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10839
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
KeyCode 08
« Reply #3 on: 2007-Dec-09 »
No, remove the 0 infront of 08. It's 8 and 9, not 08 and 09.

Offline matty47

  • Mr. Drawsprite
  • **
  • Posts: 71
    • View Profile
    • Matt and Marg's Homesite
KeyCode 08
« Reply #4 on: 2007-Dec-09 »
Blush, blush
Sorry
Thanks
Matthew