C cyiwin Active Member Licensed User Longtime User Jul 1, 2013 #1 When debugging I like to hover over variables to see their values. If I used the "Type" command to declare variables I get a lot if odd looking values (see attached). Is there a fix for this or something I can do differently? Attachments Hard To Decipher.png 30.5 KB · Views: 413
When debugging I like to hover over variables to see their values. If I used the "Type" command to declare variables I get a lot if odd looking values (see attached). Is there a fix for this or something I can do differently?
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2013 #2 What you are seeing is the string representation of some of the objects. BitmapData I guess. You cannot change it. Upvote 0
What you are seeing is the string representation of some of the objects. BitmapData I guess. You cannot change it.
C cyiwin Active Member Licensed User Longtime User Jul 2, 2013 #3 Thanks, from your reply I see I left out important info... Here is the command line. Code: Copy Type SLaser(LaserBitmap(2) As BitmapData, target(2) As String, Xmoved(2,401), Ymoved(2,401) As Double, LaserAlive(2) As Boolean, LaserDamage(2), Xdistance(2), Ydistance(2), Chose(2), LaserFrames As Int) Now I see what is going on. They are arrays, which shows up fine if the declared variable that uses them aren't arrays. I am using this with : Code: Copy Dim BF(35) As SLaser It makes this string code when using an array of an array in Type. Could this be a bug? Understandably not a high priority one. Upvote 0
Thanks, from your reply I see I left out important info... Here is the command line. Code: Copy Type SLaser(LaserBitmap(2) As BitmapData, target(2) As String, Xmoved(2,401), Ymoved(2,401) As Double, LaserAlive(2) As Boolean, LaserDamage(2), Xdistance(2), Ydistance(2), Chose(2), LaserFrames As Int) Now I see what is going on. They are arrays, which shows up fine if the declared variable that uses them aren't arrays. I am using this with : Code: Copy Dim BF(35) As SLaser It makes this string code when using an array of an array in Type. Could this be a bug? Understandably not a high priority one.
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2013 #4 You are correct. This is the default string representation of arrays. Upvote 0