niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl
hex file
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
lily12a@gmail.com
*nix forums beginner


Joined: 20 Jul 2006
Posts: 1

PostPosted: Thu Jul 20, 2006 9:58 pm    Post subject: hex file Reply with quote

Hello,

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Thanks,
Back to top
David Squire
*nix forums Guru Wannabe


Joined: 08 Apr 2006
Posts: 197

PostPosted: Thu Jul 20, 2006 10:00 pm    Post subject: Re: hex file Reply with quote

lily12a@gmail.com wrote:
Quote:
Hello,

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.


What have you tried?
Back to top
usenet@DavidFilmer.com
*nix forums Guru


Joined: 25 Jul 2005
Posts: 545

PostPosted: Thu Jul 20, 2006 10:04 pm    Post subject: Re: hex file Reply with quote

lily...@gmail.com wrote:

Quote:
Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Those appear to already be hex values...

By the way, you may find this info interesting:
http://www.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html

--
David Filmer (http://DavidFilmer.com)
Back to top
Dave Weaver
*nix forums addict


Joined: 22 Apr 2005
Posts: 71

PostPosted: Fri Jul 21, 2006 8:39 am    Post subject: Re: hex file Reply with quote

lily12a@gmail.com <lily12a@gmail.com> wrote:
Quote:

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Those are already hex values!

Your question is too vague - please see the posting guidelines that
are posted to this group regularly.

Perhaps you mean something like this:

my @input_array = qw(4C 49 4C 59);
my @values = map { hex $_ } @input_array;

But perhaps not. Your question needs to be clearer.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 3:04 pm | All times are GMT
navigation Forum index » Programming » Perl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts Regarding thesaurus iso file Srikanth modules 0 Fri Jul 21, 2006 10:42 am
No new posts how can i get a file descriptor not used? mars system 0 Fri Jul 21, 2006 7:41 am
No new posts small GTK "Open file" dialog David Siroky Debian 0 Fri Jul 21, 2006 7:30 am
No new posts Trouble Declaring 3D Array in Header File free2klim C++ 1 Fri Jul 21, 2006 4:07 am

Xbox Mod Chip | Car Insurance | Bad Credit Loan | Credit Cards | Mortgage Calculator
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2114s ][ Queries: 16 (0.1305s) ][ GZIP on - Debug on ]