Hi,
I'm trying to convert a hexadecimal string to its decimal value.
My original string : 0102E84669
I've tried oconv(original,MCX) or xtd(original) but it seems to be not
the good method.
The result is : 48776809 wich is the result of xtd(02E84669)
It seem to lost first hexadecimal value 01
Has
Thanks for all your help. I'm making some head way on my EVAL formatting
looks like OCONV or ICONV is going to do the trick.
To those that think I should write an I-desc, I would, the problem is that
I can't. I don't have the privileges. I'm an end user trying my best at
using the tools
Hallo Kevin,
the AS keyword allows you to give a name to an EVAL-Expression in case that
you want to reference it more than once in your sentence. A (not very
sensefull) example:
LIST VOC EVAL LEN(@ID) AS LEN_ID WITH LEN_ID GE 5 BY.DSND LEN_ID
LEN_ID is not defined in the DICT of VOC but only
no. But, if you set up your dyn array backwards, then it works.
That is
10 @vm 11 @vm 12 @fm 20 @vm 21 @vm 22 @fm 30 @vm 31 @vm 32
Now 1=col 1
2=col 2
So instead of filling it in as row, col
fill it in as col,row
OR
subroutine get.column(var.in,var.out,col.no)
*
var.out=
Works on a native pick system:
WED BBB
* BBB - Simple Program to test program snippets before using in development
CRT 'Enter Hex String : ':;INPUT HEX.IN
HEX.OUT = OCONV(HEX.IN,'MCX')
PRINT HEX.OUT
STOP
***
SUCCESSFUL COMPILE! 2 FRAMES USED.
BBB
Enter Hex String : ?0102E84669
Just a thought; does FIELDS work? I doubt that version 1 will work, but version 2
certainly will.
Version 1
FIELDS(dynarray, @VM, 3, 1)
Version 2
FIELDS(CONVERT(@VM,|,dynarray), |, 3, 1)
- Original Message -
From: Barry Brevik [EMAIL PROTECTED]
Date: Wed, 18 Aug 2004 13:40:54 -0700
Assuming that the array was called A:
A.TEMP = CHANGE(A,@FM,@AM)
STUFF.YOU.WANT = A.TEMP1,3:@VM:A.TEMP2,3:@VM:A.TEMP3,3
Should work!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik
Sent: Wednesday, August 18, 2004 13:41
To: U2-users (E-mail)
From: Barry Brevik [mailto:[EMAIL PROTECTED]
Yeah. I'm working on some code I inherited. I was banging my
head trying to figure out why the author setup his array
'backwards'. Maybe *I'm* backwards, and that is a legitimate
technique, but my brain does not want to go there.
I think
I know, RTFM, but (as a shortcut)
Can UV UD co-exist on the same windows box ? I've just tried installing UD PE on my
XP machine (which already had UV D3 installed), but no joy. Reports a message with
UDTelnet not starting - UD is running as I can access with console app, just no telnet.
Ross,
I don't know about PE, but I seem to remember on the server edition that
you could define the telnet port the same place you defined the welcome
banner.
(course I just went and looked in UniData Admin and couldn't find
it)
-Original Message-
From: [EMAIL PROTECTED]
Hi Jamie,
setRequestHeader=0
21621:error:140DA111:SSL routines:SSL_set_session_id_context:ssl session id cont
ext too long:ssl_lib.c:272:
Abnormal termination of UniVerse.
Fault type is 10. Layer type is BASIC run machine.
Fault occurred in BASIC program BOB.HTTP4 at address 1d2.
have you tried
11 matches
Mail list logo