Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IDE's Immediate window compared to VFP's Debug window
Message
De
08/08/2007 16:28:11
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01246894
Message ID:
01246896
Vues:
21
>>I've been given the task of maintaining some VB.NET code. After quickly scouring the code, I decided to try to see what some of the VB functions in it was trying to accomplish. So being a long time VFPer and a newbie to VB.NET, I figured I'd open the Immediate Window, enter the function then see the result. I hoped that it would behave like the VFP debug window where I'd see the immediate results :)
>>
>>Was I wrong. After typing "? DatePart(DateInterval.Month, Now)" into the Immediate window without the quotes, .NET decided to build the project. Of course, with all the errors and warnings, I don't get to see the result of what I tried to type. Just out of curiousity, I then typed "? 100/10"...same thing! Nothing.
>>
>>Was I expecting too much from this .NET IDE "Immediate window" thing? If not, how do I make it work such that I can get a result returned/displayed to me when I type in simple commands/functions?
>>
>>TIA
>
>May be I'm wrong again but did you try Debug.Print instead of ?

I just tried, 'Debug.Print "Hello World"' without the single quotes in the Immediate Window and same result. .NET always wants to build the project. Not very Immediate is it?

Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform