pysynth/wrappers/mml.py
def forward(self):

        """
        Increments the index by one.

        We also make sure that our current value is valid,
        not a space.
        """

        # Iterate until we find something:

        while self.has_next():

            # Move forward:

            self.index += 1

            # Check the value residing here:

            if self.get() != ' ':

                # We have a value! return

                return

        raise Exception("Unable to move forward, index out of bounds!")

        Increments the index by one.

        We also make sure that our current value is valid,
        not a space.
        
Increments the index by one.
We also make sure that our current value is valid,
not a space.
Increments the index by one . We also make sure that our current value is valid not a space .
def forward(self):
        while self.has_next():
            self.index += 1
            if self.get() != ' ':
                return
        raise Exception("Unable to move forward, index out of bounds!")
def forward ( self ) : while self . has_next ( ) : self . index += 1 if self . get ( ) != ' ' : return raise Exception ( "Unable to move forward, index out of bounds!" )
Increments the index by one.
Increments the index by one .
"""
        Increments the index by one.

        We also make sure that our current value is valid,
        not a space.
        """ # Iterate until we find something: # Move forward: # Check the value residing here: # We have a value! return
self