Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Add Global variables

Hi,

since both variables have the same name, and the CDT uses that name to fetch
the value, it gets the value of the variable that is in scope (the local f).
But since it shows f with a global variable icon, it probably should show
the proper value.

Maybe global variables should use the :: operator (C++ only....) when being
created by the CDT.

Just a thought...

Marc


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx on behalf of ???
Sent: Sun 3/16/2008 10:09 PM
To: CDT General developers list.
Subject: [cdt-dev] Add Global variables
 
hi,
        bug: value is local,but icon is global variable.

        1. run to 17
        2. Variable window ->Add Global Variables... -> f


Best regards
Lijun

<<winmail.dat>>


Back to the top