Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert IPv4 dotted quad into four decimal values
#5
Sorry. The version of QB64-PE that I've been testing stuff on doesn't have any DPI Awareness on it, so images don't scale to my 4k screen. An itsy-bitsy 16x8 font is much too small to read anything on, so I've got to scale them up manually like that. Wink

The good thing about the above is your error checking -- you only need a single line for IF v < 0 OR v > 255 THEN ERROR 5: EXIT SUB
Reply


Messages In This Thread
RE: Convert IPv4 dotted quad into four decimal values - by SMcNeill - 09-02-2022, 11:17 PM



Users browsing this thread: 2 Guest(s)