Hey Boys!

Try taking out the inner quotes. The spec doesn't show that its using them
at all.

IE. <@calc expr="num(0x<@var local$hex>)">

Or, if that doesn't work, I'd throw the 0x into the hex variable as well and
just put that in the num function.

IE. <@assign local$hex value="0xe4">
<@calc expr="num(<@var local$hex>)">

Hope this helps.

Cheers,
Jonah Simpson

----- Original Message ----- 
From: "Dave Shelley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 18, 2004 11:39 AM
Subject: RE: Witango-Talk: Converting to hexadecimal - Additional Problem


That's odd. It works on a windows box with both T2K and Witango 5. I
don't have an OSX box handy to try it on.

<@assign local$hex e4>
<@CALC EXPR='num("0x@@local$hex")'>
--> 228

-----Original Message-----
From: Christian Platt [mailto:[EMAIL PROTECTED]
Sent: April 18, 2004 12:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Converting to hexadecimal - Additional
Problem

No dave, still the same error...
Christian

Am 17.04.2004 16:12 Uhr schrieb "Dave Shelley" unter
<[EMAIL PROTECTED]>:

> Christian,
>
> Try putting it in quotes:
> <@CALC EXPR='num("0x@@request$hex")'>
>
> Dave
>
> -----Original Message-----
> From: Christian Platt [mailto:[EMAIL PROTECTED]
> Sent: April 17, 2004 6:32 AM
> To: [EMAIL PROTECTED]
> Subject: Witango-Talk: Converting to hexadecimal - Additional Problem
>
> I try to check my selfmade hex-routine with <@CALC>, but does not work
> with
> variable....
>
> i use
>
> <@CALC EXPR='num(0x@@request$hex)'>
>
> and i get the following errorcode:
> Class: Internal
> Main Error Number: -18
>
>
> Error during expression evaluation.
> Closing bracket missing in statement [num(0xe4)]
>
>
>
> Meta Stack Trace:
>
> Line
> Meta Tag
>
> 0017
> <@CALC EXPR='num(0xe4)'>
>
>
> Ist on OSX
> Christian
>
>
>
________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
>
________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Christian Platt
++++++++++++++++++++++++++++++
pharmaline - Internet für Apotheken
Christian Platt
Kupferdreher Str 150
45257 Essen
Tel. 0201/ 4864557
     0201/ 487827
     0201/ 8486183
Fax  0201/ 484211
     0201/4864558

iChat: [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED]

http://www.pharmaline.de



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to