It doesn't allow me. Here's an example:

Maxima 5.13.0 Maxima, a Computer Algebra System

Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)

Distributed under the GNU Public License. See the file COPYING.

Dedicated to the memory of William Schelter.

This is a development version of Maxima. The function bug_report()

provides bug reporting information.

(%i1) integrate(1/(x^2), x, 0, INF);

Is INF positive, negative, or zero?

positive

;

Integral is divergent

-- an error. To debug this try debugmode(true);

(%i2)

I would be really grateful if someone could tell me how to do it.

Thanks!