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,c89924cb7c8c5a42 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-13 06:31:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Who said strong typing is a benefit? Date: Sun, 13 Oct 2002 15:30:22 +0200 Organization: Enyo -- not your organization Message-ID: <87lm52eaa9.fsf@deneb.enyo.de> References: <8db3d6c8.0210121718.25cf55e4@posting.google.com> <%%8q9.21249$rz6.2550@sccrnsc02> <3DA96E28.9090104@worldnet.att.net> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1034515815 16926 212.9.189.171 (13 Oct 2002 13:30:15 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 13 Oct 2002 13:30:15 GMT Cancel-Lock: sha1:/G6lar3N/7kdqhBVH/8FGPrzEVs= Xref: archiver1.google.com comp.lang.ada:29742 Date: 2002-10-13T13:30:15+00:00 List-Id: Jim Rogers writes: > My favorite response to this kind of question is "what will Matlab do > when you take the square root of a string?" >> sqrt ('@Q') ans = 8 9 >> Ugh. Consistent, but useless. However, you get an error if you try to use a string as a matrix index. But you can use a matrix as an index for a vector (and Matlab programmers constantly do this!)