It's a hexadecimal literal. See Help/Language/Literals in the BlitzMax help.
glLineStipple(1, $3F07); glEnable(GL_LINE_STIPPLE);I beleive you can use glu and glew but not sure about glut. It wouldn't be hard to import it yourself though.