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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Arbitrary CONST values Unseen Machine 31 2,878 10-29-2025, 05:44 AM
Last Post: bplus
  QB64PE programming challenge? auto-convert image to photoreal etch-a-sketch drawing madscijr 9 1,859 02-14-2025, 05:49 PM
Last Post: madscijr
  suggestion: initialize array values within the DIM statement bobalooie 19 3,352 12-22-2022, 06:46 PM
Last Post: Kernelpanic
  String math: Whole # powers easy, decimal powers!!! Pete 0 506 09-12-2022, 08:58 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)