function sysCall_threadmain()
-- Put some initialization code here
C1Handle=sim.getObjectHandle('C1')
i=0
position={0,1,0}
force={0,-7,0}
while(true)
do
sim.addForce(C1Handle,position,force)
if(i==0)
then
i=1
else
i=0
end
end
end
function sysCall_cleanup()
-- Put some clean-up code here
end
-- See the user manual or the available code snippets for additional callback functions and details