Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug vs. Functionality
Message
 
To
30/08/2000 10:26:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00410715
Message ID:
00410750
Views:
15
>Hi George,
>Thanks, as always, for your input. Having only been a foxPro programmer for about 1.5 years, this is the first time I encountered such a problem. As far as, "How would you indicate the difference to the compiler?" I would imagine you could just make it ignore every last character on a commented line regardless of what it is. Now, is it worth the climb? Definately not, when all I have to do is put my cursor next to the semi and press DELETE.
>
>Thanks again for commenting.

Anytime.

I think what bytes (yes, a pun) folks most often is the syntax coloring. FWIW, in VC++ 6.0 consider the following:
// Of the following 3 lines only the second isn't a comment
// Initialize the return parameter to a null string.
*lpszPath = '\0';
// Initialize the object interface
// Of the following 3 lines, all are comments
/* Initialize the return parameter to a null string.
*lpszPath = '\0';
Initialize the object interface */
The reason I point this out, is that the VC++ editor shows the latter three lines as being comments (all in green). So, this may mean that this confusion with comment lines ending with a semi-color in VFP will be corrected in the next version. This is, however, a pure WAG. I'd say that from looking at VC++, it is possible.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform