Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Byte Array Display

Posted on 1998-11-01
1
145 Views
Last Modified: 2010-04-30
I want to display the contents of a byte array in numeric form, both before and after being passed to the api. I am presently using a dll wih a function "ReadByteBuf" but would prefer to use in-line code if possible. Can anyone supply code for this???
0
Comment
Question by:mikemmmike
1 Comment
 
LVL 12

Accepted Solution

by:
mark2150 earned 10 total points
ID: 1442740
FOR N = 1 TO {size of array}
    Print HEX( array( N ) ); " ";
    IF INT( N/10 ) = N/10 THEN PRINT ""
Next N

This will print ten elements across in HEX.

M

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question