Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A doc error or misinterpretation ?
Message
De
20/04/2000 13:55:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/04/2000 13:48:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00361923
Message ID:
00361952
Vues:
16
>>>>This is as is from help for "&&"
>>>>
>>>>
Remarks
>>>>
>>>>Place a semicolon (;) at the end of each comment line that continues to a following line. You cannot place && and a comment after the semicolon used to continue a command line to an additional line.
I always interpreted as you cannot do this :
>>>>
select * from mytable ; && mytable blah blah
>>>>   where expr1 = exp1 ;      && blah blah
>>>>      and expr2 = exp2 ;     && make sure blah blah
>>>>   into cursor myCursor
But this works as if no inline comments there ??? Stumped (funny yesterday I suggested someone to move inline comment to the end of command and it worked afterwards).
>>>>Cetin
>>>
>>>I think this is something new, either to VFP6 or maybe SP3.
>>
>>
Yeah Fred,
>>I tested under SP3. I thought it should be working under VFP5 too because I'm modifying, correcting code written by someone else in VFP5. At first I thought I found an error point but after testing :( Well after a registry disaster I lost VFP5 installation. Hope somebody tests for me and if it doesn't work under VFP5 then good I found why code doesn't work as intended :) Thanks.
>>Cetin
>
>I just tried this under VFP5/SP3 and VFP6/SP3. It works in both places from a .PRG, but neither one works from the command window.


Thanks Fred and George. In the meantime I found another potential code piece that would cause the behaviour I'm after :) I'll revert commenting style to what I know works 100% and go on.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform