POV-Ray : Newsgroups : povray.advanced-users : #read robustness and string functions : #read robustness and string functions Server Time
29 Apr 2024 07:05:14 EDT (-0400)
  #read robustness and string functions  
From: Bald Eagle
Date: 1 Jun 2017 13:05:00
Message: <web.593048371fb1c2d4c437ac910@news.povray.org>
I'd like to be able to read through data files, and be able to reject malformed
entries.

I'm assuming that to do this in SDL, I will have to read in _everything_ as a
string first, and then decide what to do with the information in that string
based upon its content.

Has anyone worked out macros to deal with strings such as left() mid() right()
Upper/Caps(), Lower(), Val[ue](), etc?

hexidecimal conversion? (to decimal)

Apparently there are macros to synthesize strings, but not analyze them.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.