08-09-2017
Programming guidelines and style
Hello all,
I would like to know if there is a generally accepted unix shell programming Guideline?
Do you have any idea where to find this?
There are a lot of programming Guidelines to find over Google, but is there one who is generally accepted?
4 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
This area is not for technical questions. It is reserved for unregistered users who have a question or registered users who have trouble with their account.
Other posts will be deleted by the moderators. (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
This area is not for forum specific technical questions. Please post forum specific technical questions in the best forum, not in the lounge. However, if your idea or question is not covered clearly in a forum, please post it here.
Discuss whatever is on your mind. Technical topics welcome... (0 Replies)
Discussion started by: Neo
0 Replies
3. Shell Programming and Scripting
Hi,
I was wondering if any of you guys have developed shell scripting guidelines for writing unix shell scripts effectively. This includes naming standards, comments, indentation, error handing after unix comands, use of exported variables, sending notifications, functions, logging etc...
... (2 Replies)
Discussion started by: acheepi
2 Replies
4. Programming
Hello to all,
Here is my situation. Some time in the mid-80's I stumbled across a small white programming book - can't remember the name but it was unique in that it started right out giving instructions on creating building blocks in code as a foundation for a complete system. The book was... (2 Replies)
Discussion started by: jozefn
2 Replies
LEARN ABOUT OSX
glmatrixmode
GLMATRIXMODE(3G) GLMATRIXMODE(3G)
NAME
glMatrixMode - specify which matrix is the current matrix
C SPECIFICATION
void glMatrixMode( GLenum mode )
PARAMETERS
mode Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION,
and GL_TEXTURE. The initial value is GL_MODELVIEW.
Additionally, if the GL_ARB_imaging extension is supported, GL_COLOR is also accepted.
DESCRIPTION
glMatrixMode sets the current matrix mode. mode can assume one of four values:
GL_MODELVIEW Applies subsequent matrix operations to the modelview matrix stack.
GL_PROJECTION Applies subsequent matrix operations to the projection matrix stack.
GL_TEXTURE Applies subsequent matrix operations to the texture matrix stack.
GL_COLOR Applies subsequent matrix operations to the color matrix stack.
To find out which matrix stack is currently the target of all matrix operations, call glGet with argument GL_MATRIX_MODE. The initial value
is GL_MODELVIEW.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if glMatrixMode is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_MATRIX_MODE
SEE ALSO
glLoadMatrix, glPushMatrix
GLMATRIXMODE(3G)