Re: Question about Maple (a color problem)




"anthony" <anthony.canu@xxxxxxxxxxx> wrote in message
news:1133774181.636488.33960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Robert Israel a écrit :

> In article <1133726323.817440.7400@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> anthony <anthony.canu@xxxxxxxxxxx> wrote:
>
> >
> >plots[display](map(x->plots[textplot](x,color=[orange,red,blue,brown,green,­coral,cyan,magenta,turquoise,violet][parse(x[3])+1]),[seq(map(x->ListTools:­-Interleave(x,[i]),ListTools:-Enumerate(StringTools:-Explode(sprintf("%02d"­,die()))))[],i=1..10)]),axes=none,view=[-15..15,1..10]);
> >Error, `:` unexpected
>
> Your copy-and-paste somehow inserted some extra "-" characters.


So I deleted the extra "-" characters but :

> plots[display](map(x->plots[textplot](x,color=[orange,red,blue,brown,green,coral,cyan,magenta,turquoise,violet][parse(x[3])+1]),[seq(map(x->ListTools:Interleave(x,[i]),ListTools:Enumerate(StringTools:Explode(sprintf("%02d",die()))))[],i=1..10)]),axes=none,view=[-15..15,1..10]);
Error, `:` unexpected

Those "-" characters that you deleted, should be there, in
ListTools:-Enumerate etc.

Alec


.



Relevant Pages

  • Re: [=SDC=] Q28. The librarian (1).
    ... How did anyone recognise these from such ... Is it particularly well known for the missing apostrophe ... > Perhaps Alec will explain how he got it. ... > "Major Barbara" has, believe it or not, two characters whose names ...
    (alt.usage.english)
  • Re: Read only last line-
    ... '\n' characters and recording the position of the next ... long prev = 0, here; ... here is really the end of file and prev is the offset to the ...
    (comp.lang.c)
  • Re: Document variables
    ... > testing and it looks like it fails if I try to make a string longer than ... > about 65000 characters. ... > large amount of text to a field? ... Prev by Date: ...
    (microsoft.public.word.vba.customization)
  • Re: !ALT.SUPPORT.CHRONIC-PAIN FAQ 2/2
    ... Tagline, 70 characters long, last seen in Nevada. ... Prev by Date: ...
    (alt.support.chronic-pain)
  • Re: Need Huntron HTR1005B-1S manual or App notes
    ... MasonDG44 at comcast dot net (Just substitute the appropriate characters in ... Never take a laxative and a sleeping pill at the same time!! ... Prev by Date: ...
    (sci.electronics.repair)