This command will rotate the specified body. Actually it does not rotate the body, it sets the body's angle to the specified angle. Therefore, to make the body actually "rotate" it is necessary to write the command like this:
b2RotateBody Body1,wrapvalue(b2GetBodyAngle(Body1)+Angle)
The ID should be the integer handle of the body to be rotated, which was returned when the body was created.
Syntax
b2RotateBody ID as Integer, Angle as Float