Solved

Byte Array Display

Posted on 1998-11-01
1
144 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

810 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