Bill Allombert on Wed, 01 Apr 2009 23:32:12 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: character input to functions


On Wed, Apr 01, 2009 at 03:00:12PM -0500, cino hilliard wrote:
> 
> I want to be able to input alpha-numeric data without the quotes. Here is an
> example in gcc.

An example of what ?

> I realize this is not a bug and I think I know why it happens. I am just
> wondering if there is a way to do such input without quotes.  

This is a terrible idea. Here a way to do that that will only work with
PARI 2.3 (not 2.4) and does not achieve much.

? install("strtoGENstr",r,"myfunc")
? myfunc(121312AAZA)
%2 = "121312AAZA"

Now, what do you really want to do ?

Cheers,
Bill.