Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/07/2010, 13:22
th3r0rn
 
Fecha de Ingreso: noviembre-2007
Mensajes: 504
Antigüedad: 16 años, 5 meses
Puntos: 2
Respuesta: problema con elseif

Hola, asi lo deje y me sale error:
Microsoft VBScript compilation error '800a03fb'

Expected 'Loop'

/Mes/Asp/was2/monitor2.asp, line 499

elseif saving >0

Código ASP:
Ver original
  1. if saving <0 then response.write("<td bgcolor= '#FF0000'>  "&saving&" KG</td>")
  2.         elseif saving >0
  3.         then Response.Write("<td bgcolor='#00FF00'>"&saving&" KG</td>")
  4.         end if