From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a468bd087b9e90b1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-05 17:26:08 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: question about printing numbers on screen References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 06 Jul 2001 00:26:07 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 994379167 24.7.82.199 (Thu, 05 Jul 2001 17:26:07 PDT) NNTP-Posting-Date: Thu, 05 Jul 2001 17:26:07 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:9517 Date: 2001-07-06T00:26:07+00:00 List-Id: >say 10000 but have it print like this: > >10,000 > >how would I put in the comma to seperate? If your compiler implements Annex F, Information Systems, you can do it with a "picture string". If not, you'll have to create an input string with the value "10000" and build an output string with the commas in the right places. It's pretty easy with a "for ... in reverse" loop.