Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only