Re: array question



Please fix your quoting. Post your reply *below* the material you are
replying to, and trim the quotes appropriately. This is not the first
time you have been asked. If you continue to be rude by ignoring these
requests, people will not be likely to continue to help you.

a wrote:
> "Bernard El-Hagin"
> > [don't top-post]
> > "a" <a@xxxxxxxx> wrote:
> > > "Jürgen Exner"
> > >> a wrote:
> > >> > Can I do the following?
> > >> > my @ary;
> > >> > $ary[0]="a";
> > >> > $ary[1]="b";
> > >>
> > >> Have you tried it? What happened?
> > > Syntax error complains but not specific
> >
> > They are always specific. What was the error message you got?
> syntax error at filename line 20, near "]~"

You do not have any ]~ sequence in the code you showed. Therefore, the
code you showed us has nothing to do with your error.

Please read the posting guidelines for this group. Then post a SHORT
but COMPLETE script that demonstrates the error you are having.

Paul Lalli

.



Relevant Pages

  • Re: parsing commands and parameters
    ... but not too much to remove all context. ... I usually trim to around two levels of quoting (the person I'm quoting ... One level (just the person to whom I'm replying) if that ...
    (comp.lang.c)
  • Re: How long does buyer have to pay for item
    ... was quoting the messages that I was replying to. ... Google users have been asking for them to fix that since they started ...
    (alt.marketing.online.ebay)
  • Re: Setting Source Filter Frame-rate
    ... If you're responding to Thore's point, why are you replying to my post? ... Trim and quote inline like a logical person and you won't make this ... Reading video memory is quite a bit faster on PCI Express vs. AGP. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Londonistan?
    ... And I'm tired of people who properly trim what they're replying to ... A good rule of thumb is to imagine that your newsreader's quoting ... (I'm not saying not to *use* your ... ever told ceases to be funny long before the 100th time you read it. ...
    (rec.arts.sf.fandom)
  • Re: Free folk music
    ... When I first started in Usenet I was told ... order to make clear the specific points he/they was replying to; ... should just trim the original post back to the bare essentials before ... It is logical and that's why there are conventions like this 'no top ...
    (uk.music.folk)