> $clisp -q -norc > > [1]> (setf (fdefinition 'read-string) (get-macro-character #\")) > > #<SYSTEM-FUNCTION SYSTEM::STRING-READER> > > [2]> > > (set-macro-character #\" > > #'(lambda (stream char) > > (let* ((buf (read-string stream char)) > > (n (parse-integer buf :junk-allowed t))) > > n))) > > T > > [3]> (+ "3viso" 2) > > 5 >
> Utilizzando in maniera interattiva l'interprete Python si può ottenere lo > stesso risultato con sys.displayhook. :P > Vorresti forse insinuare che con python e' infinitamente piu' semplice da scrivere e da capire? Cattivo! Fare simil basse insinuazioni :) Carlos -- If you have no voice, SCREAM! If you have no legs, RUN! If you have no hope, INVENT!
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python