Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Summit, VFP, Disclosure, Musings
Message
 
À
10/12/2001 14:26:14
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00588784
Message ID:
00592283
Vues:
25
>>In VBScript this is kind of understandable. Afterall, the design environment isn't exactly the best. It's Notepad. However, in VB proper, if I forget the "Then", I get prompted just as soon as I hit return with a dialog saying something like "Expected 'Then'". If I type "EndIf" the editor automagically makes it "End If".
>>
>>The bottom line here is that this kind of stuff isn't really significant enough to cause a really long delay in the development process. You make a mistake like the above, try to learn from it and proceed.
>
>George,
>
>That's a LOL! For me anyway!
>
>After tranferring your Loader code (Remember the WSH learning curve of mine?) I kept getting these errors running the VBS script. Spent way too much time trying to figure it out and nearly gave up. Then, after thinking on how you wouldn't likely upload code riddled with syntax error, I realized that I had copied a portion of the Foxpro code (used to create a script if desired) into the VBS file. The error was on the "EndIf" vs the "End If" statements.
>
>Per your post, it makes me feel slightly better knowing that even the ones well-versed in both languages can still make these mistakes.
>
Renoir,

I'm glad you got it working. Before Gonzo (John Koziol) was absorbed by the Borg< g >, I had sent him some new code for the loader generator. I can private you with a sample if you like.

The EndIf business bites me far too often. I'm thinking about using the VB editor to help me out.:-)

Regards (from an all too human),
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform