From: T DOT Harte AT btinternet DOT com (Thomas Harte) Newsgroups: comp.os.msdos.djgpp Subject: RhIDE : Am I missing something (REPOST with correct date) Date: Thu, 12 Jun 1997 21:11:06 GMT Organization: BT Internet Lines: 36 Message-ID: <33a06580.1114184@news.btinternet.com> NNTP-Posting-Host: host5-99-60-86.btinternet.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk As I posted the original while the date in my computer was set back (long story), it has appeared log enough ago to be deleted instantly by some servers. Therefore I will repeat my original post - sorry to anyone who dislikes the small extra download time this incurs if you are using the mailing list. While trying to debug my latest program with RhIDE's integrated source level debugger, I was presented with the following within the 'Evaluate and modify' box, copied direct via the Windows 95 clipboard (a fixed pitch font would be a good idea for this message) :- +---------------------------- Evaluate and modify -----------------------1-----+ ¦ scrcar[8]: {x = 1760.00024, y = 775.094238, z = 5, u = 3.31008277e-39, v = 8.¦ ¦ coord_temp: {951455496, 138643776} ¦ ¦ size_temp: {1, 2} ¦ ¦ scrtrees[temp[0]].z: not available ¦ ¦ temp[0]: not available ¦ ¦ temp: {31, 1690} ¦ ¦ temp[1]: not available ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------------------------------------------------------------------------+ Now, my question is - if the variable 'temp' is holding both the values 31 & 1690, why does then asking for temp[0] and temp[1] not work, bearing in mind that 'temp' is declared with the line 'int temp[2]' ? Oh, and if anyone cares, I am simply not using the u and v values of the V3d_f struct 'scrcar'. Thanks in advance, -Thomas