Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color Valuenator(tm) by Steve the Awesome(tm)(c)
#2
Note:  This also has a couple of helper functions with it, that someone might find useful.

FUNCTION IsNum tells you if a string is a valid number, or not.

FUNCTION ParseValues takes a CSV string of numbers and breaks them down into an array of numbers for you.    ("1,2,3,4,5,6,7,8,9" would become a 9 element array containing the values for 1, 2, 3, and so on.)   Also works with numbers inside parentheses, such as "_RGB(123, 456, 789)", which would return a 3-element array holding 123, 456, and 789 as the elements.
Reply


Messages In This Thread
RE: Color Valuenator(tm) by Steve the Awesome(tm)(c) - by SMcNeill - 12-07-2022, 06:45 AM



Users browsing this thread: 3 Guest(s)