SYShasValueSwitchAngle

Top  Previous  Next

Corners investigate.

With this routine the parametre which agrees with key is determined from the command line. Parametres have the following form: <Parametre name / value><>.

The corner receives by prehired R or D or G a square assigned. Without leading letter must be given in the parametre winkelmass the square. In value as a STAND-IN returned corners this always has winkelmass Radiant!

Parametre

argc (int) [IN]

argc gives the number of the parametres of the command line.

argv (char **) [IN]

Sign chains in the command line.

key (char *) [IN]

key contains the parametre name to be searched And the distinguishing slash may not be given with.

value (stands in *) [IN / OUT]

In value the corner becomes in Radiant zurückgeliefert.

root (PROOT) [IN]

Act on the data bank.

winkelmass (int) [IN]

With the parametre winkelmass it is given whether the corner was given in Radiant, degree, Gon or in the square opposed in the system variable WGR. The following constants are available:

WINKEL_MODE_PI

WINKEL_MODE_360

WINKEL_MODE_400

WINKEL_MODE_SYS

Result

(int) [OUT]

If the parametre could be found, becomes TRUE zurückgeliefert, but FALSE.

Declaration

#include "basic.h"

 

int DLLENTRY SYShasValueSwitchAngle (

int argc,

char ** argv,

char * key,

stand in * value

PROOT root,

Int winkelmass

);

Related functions

SYShasValueSwitchDouble

SYShasValueSwitchLong

SYShasValueSwitchLongfield

SYShasValueSwitchPointer

SYShasValueSwitchShortfield

SYShasValueSwitchText

Remarks

If several parametres with the same name are in the command line, becomes the last value zurückgeliefert.