变量什么时候会出现(100分)

K

kane

Unregistered / Unconfirmed
GUEST, unregistred user!
Delphi的IDE中的Code Explorer 可以现实
对象,过程及函数,但是在函数或过程中的的
变量如何显示出来,我有一个程序中的一个单
元中的一个过程中的变量可以显示,但是此单
元中的别的过程中的变量去无法显示
 
什么意思?
 
是否前面有没写完的语句? 如果前面某条语句没有结束符";", 则Code Explorer在
后面不工作.
 
Variables/Constants |
| |function THAVI.OpenAndReadHD(FileName:String);
|-Flag |var
|-i | Flag:Boolean;
|-j | i,j :Integer;
.... | ......
|

只有这个过程里的变量可以在Code Explorer里显示
出来,别的过程却没有,怎么回事
 
是否哪里参数没设好?
 
奇怪, 我的D4只显示单元级的变量, 你的怎么会显示函数里的变量.

你的DELPHI版本多少?
 
Delphi 5.37 Plus UpDate2 Plus UpDate 3
 
在Environment options菜单下,在explore页下,有关于这部分的帮助.


Explorer Categories

These options let you control how source elements are categorized

in the Code Explorer. If a category is checked, elements of that

type are grouped together in a folder of that name. If unchecked,

elements of that type are shown outside of a folder.

The folders in bold take precedence when a conflict exists and an

element can appear in two folders (for example, a private field

would be listed in the private folder if both Private and Fields

were checked).

If a folder is checked, the glyph to the left of the checkbox shows

whether or not the folder is expanded. Click there to expand or

close a folder. The change goes into effect when you click OK.

 
还是没有实质性的内容呀。顶多跟你说一下Explorer是
干什么用的而已。
 
没有看那东西的习惯:)
 
多人接受答案了。
 
顶部