DAY 014: ASC
#4
(11-18-2022, 07:19 PM)james2464 Wrote: I noticed this keyword for the first time yesterday while taking a look at a program by Mastergy

_Keydown(Asc("w")) 

Instead of using the number for the w key.

Great example! I almost always go old school with INKEY$, but when I do _KEYDOWN or _KEYHIT the numbers are a _BEOTCH to remember. Using ASC() helps ease that difficulty. Hell, I knew the alphabet by 3rd year college, my freshman year.

Pete
Reply


Messages In This Thread
DAY 014: ASC - by SMcNeill - 11-18-2022, 04:31 PM
RE: DAY 014: ASC - by Pete - 11-18-2022, 06:49 PM
RE: DAY 014: ASC - by james2464 - 11-18-2022, 07:19 PM
RE: DAY 014: ASC - by Pete - 11-18-2022, 07:30 PM
RE: DAY 014: ASC - by mnrvovrfc - 11-18-2022, 11:30 PM
RE: DAY 014: ASC - by Pete - 11-19-2022, 12:09 AM
RE: DAY 014: ASC - by Pete - 11-19-2022, 12:14 AM
RE: DAY 014: ASC - by PhilOfPerth - 11-19-2022, 01:09 AM
RE: DAY 014: ASC - by SMcNeill - 11-19-2022, 06:27 AM



Users browsing this thread: 3 Guest(s)