Solved

Byte Array Display

Posted on 1998-11-01
1
142 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now