converting basic stamp2 codes into arduino codes

the following code generates and output of
Erro Code: 2

The code you presented cannot possibly output "Erro Code:" nor can it output " 2".