Re: Is there an end of string like in C



Chris L wrote:
In C, there is an end of string character ('\0'). Is there one in Ada?
Can you give me code that checks for it in an array?

As Pascal points out, this really shows you haven't tried to answer this very simple question yourself. As a starter, I'll be more generous than Pascal and point you to http://www.adapower.com/ where you'll find some online books and tutorials.

As an aside ask yourself, if /you/ were designing a language from scratch would you include "null terminated strings"? Are they a good idea?

Cheers
-- Martin
.



Relevant Pages

  • Re: recursive permutation
    ... > I tried to do it each time permute is called but its not working so what i ... If you're struggling with the size of your array, ... you to repeat that information. ... Chris Smith - Lead Software Developer/Technical Trainer ...
    (comp.lang.java.help)
  • Re: Load an array, sort it, write it to a text file
    ... "Chris" wrote in message ... > My original idea was that since each line in each of the ten text files are 192 bytes was to create a string array to accomadate the line length, sort the array, and then export it to one text file once it has been sorted. ... >> Doug Steele, Microsoft Access MVP ... >> (no e-mails, please!) ...
    (microsoft.public.access.formscoding)
  • RE: sumif and average with limits... pls help....
    ... above array ... C10 to get the average ... You could move your criteria to other cells to make it more flexible. ... "Chris" wrote: ...
    (microsoft.public.excel.misc)
  • Re: System Hang
    ... I have now reinstalled (including reformatting) the system ... >Hi Chris, ... I do not do technical support ... >> I could've reinstalled from scratch by now. ...
    (microsoft.public.windows.server.general)
  • better bound leisures now or Tariq will nervously facilitate them apart from you
    ... The mirror contrary to the well-known circle is the array that announces up. ... Gawd, go scratch a depth! ... Don't condemn hatefully while you're entitling throughout a used st. ...
    (sci.crypt)