This programme literally disconnects the AI2 emulator, I have tried other programmes and the emulator works all fine

Adding the code for the “when .exe clicked” part literally makes the programme not connect. Export here: Calculator.aia (20.7 KB)

Do you see the empty socket in the when exe click block?