MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using Unusual Characters with Do


lst = Append[Range[0,9], "/"];

Do[Print[lst[[a]], lst[[b]]], {a, Length[lst]}, {b, Length[lst]}]

Bob Hanlon

In a message dated 2001/2/9 3:30:32 AM, hoffmann at casema.net writes:

>I would appreciate it very much, if someone could tell me how to use a
>character like "/" together with Do, in a command similar to the following.
>
>Do[Print[a, b], {a, 0, 9}, {b, 0, 9}]
>
>So that the character is treat in the same as it would treat a digit. Or,
>if
>it is impossible, can you please tell me of a way to get similar results
>in
>a different way.
>


  • Prev by Date: Re: ParamatricPlot(3D)
  • Next by Date: Mathematica can talk!
  • Previous by thread: Using Unusual Characters with Do
  • Next by thread: Re: Using Unusual Characters with Do