MathGroup Archive 2003

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

Search the Archive

Re: Problems with Parsing !

  • To: mathgroup at
  • Subject: [mg39574] Re: [mg39570] Problems with Parsing !
  • From: BobHanlon at
  • Date: Mon, 24 Feb 2003 03:10:44 -0500 (EST)
  • Sender: owner-wri-mathgroup at

In a message dated 2/23/03 5:59:10 AM, frodo.biggins at writes:

> I want to write a function with 2 arguments
> Example[base_Integer,numbers_]:=Module[{...}...]
> The function works fine except that numbers are Hex numbers starting with a
> 1 (eg. 1AB23)
> In this case Mathem. interprets the numbers as 1*AB23 and gives numbers as
> AB23 to the Module.
> Is there any way to prevent this (HoldForm[numbers] in the Module do not
> work!)

One way is to just make the second argument a String.





Bob Hanlon

  • Prev by Date: Re: Comment lines in different colour or font
  • Next by Date: Re: Display of legend in MultiListPlot
  • Previous by thread: Problems with Parsing !
  • Next by thread: MathKernel access Internet?