# NNS_SndPlayerWriteGlobalVariable

## Syntax

      #include <nnsys/snd.h>

      BOOL NNS_SndPlayerWriteGlobalVariable( int varNo, s16 var );

## Arguments

`varNo` | The variable number. Takes a value between 0 and 15.
`var` | The value to be written to the variable.

## Return Values

Returns whether or not writing was successful.

## Description

Writes to the sequence global variable.

### Note

Immediately after calling this function, even if the same variable value is read with the `NNS_SndPlayerReadGlobalVariable` function, there is no guarantee that the written value will be readable.

## See Also

NNS_SndPlayerReadGlobalVariable

## Revision History

2004/06/01 Initial version.

CONFIDENTIAL