Is there any code that parses the Graphic Mode?

BlitzMax Forums/BlitzMax Programming/Is there any code that parses the Graphic Mode?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Before I write my own parser, I wanted to know if anyone wrote a function that parses the GraphicModes() so that the Graphics can be set?

The GraphicModes returns a string of modes:
800x600x16, 60 hz
1024x768x16, 70 hz