[racket] two question about DrRacket

From: Yingjian Ma (yingjian.ma1955 at gmail.com)
Date: Wed Jun 1 17:57:41 EDT 2011

Hi all,

1  I wrote

(define (p x)
  (+ x 10)
  (* x 10)

The result of (p 4) is 40.  How can I display 14 and 40?

2  How can I compare two letters in Ascii order?  For example, when input
are "x" and "y", the program will tell x is before y.

Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110601/ca2125d9/attachment.html>

Posted on the users mailing list.