Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Using Unusual Characters with Do

  • To: mathgroup at
  • Subject: [mg27212] Re: [mg27201] Using Unusual Characters with Do
  • From: BobHanlon at
  • Date: Mon, 12 Feb 2001 03:20:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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 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,
>it is impossible, can you please tell me of a way to get similar results
>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