It seems the program is compiled, but looking to the Build Tab (in MPLAB IDE 8.84 environment) I see the following:

Executing: "C:\Users\Marco\Documents\PBP3\PBPMPLAB.BAT" -ampasmwin -k# -oq -p18F4680 "Main.bas"
PBPMPLAB.BAT 4.0.0.0
Using MPASM from C:\Program Files (x86)\Microchip\MPASM Suite\.
Executing: "C:\Users\Marco\Documents\PBP3\PBPX.EXE" -ampasmwin -k# -oq -p18F4680 "Main.bas"
PICBASIC PRO(TM) Compiler 3.0.5.4, (c) 1998, 2012 microEngineering Labs, Inc.
All Rights Reserved.
12: Syntax error
39: Syntax error
Loaded C:\Users\Marco\Documents\PBP3\Develope\Bls1\Track4 nuova\Nuova versione 3.0 MMA7455\Main.COF.
BUILD SUCCEEDED: Mon Apr 30 16:17:14 2012

How can I find where are those errors ?
Marco