Post

 Resources 

Console


Well...To: Carl and Alex Warder (1 reply, 0 views) (2000-May-29)
-
Hrm, I knew about the array deal and the square box.. but what I was looking for, is a way to well.. here's an example.. Public Type Sample Name as String GfxNum as byte Age as byte End Type As you can see, about 1/3 of the UDT are bytes.. but I still have that string. When I assign a string to that sucker and save the UDT into a DAT file. And I open that file with a text editor, it'll show the boxes, of course for the bytes, and it will show the string for what it is.. So, if I assigned that string as "Cow Horn", it will show "Cow Horn" in the DAT file. So.. I need a code.. a piece of code that will allow me to convert that string into a byte and back into a string again... so All I would need for my Type is: Public Type Sample Name as BYTE GfxNum as byte Age as byte End Type and when I save the file, nobody will be able to see what the "string" really is. Anybody have a code snippit for converting and reverting this? Carl? Alex?


-
Up One Level | Back to Forum

RE: Well...To: Carl and Alex Carl (0 replies) (2000-May-29)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 40 visitors within the last 20 minutes
RSS News Feed