dword GNSSGetLastError();
GNSSStartSimulation( 0 ); if (GNSSGetLastError() != 0) { write("Start of simulation failed"); }