Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Test
Message
From
18/02/2000 22:34:03
 
 
To
18/02/2000 22:03:52
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Title:
Miscellaneous
Thread ID:
00333645
Message ID:
00334420
Views:
27
>>I agree. But I'm argueing that you shouldn't know how to use it in VBScript/ASP, and I think thats what someone mentioned and I didn't agree with.
>
>And I agree with you that knowledge of VBScript shouldn't be required on a VFP test.
>
>But take the following as an example:
>
>
>oObj = CREATEOBJECT("foo.bar")
>nRetVal = oObj.anyMethod()
>cVal = oObj.anyProperty
>

>
>This should be more than comprehensible to any VFP programmer who is even considering the exams. Assume that foo.bar is a Custom VFP COM Componenet. Now if a person understands the above, is there any reason why they shouldn't grok the following:
>
>
>Dim oObj, nRetVal, cVal
>Set oObj = Server.CreateObject("foo.bar")
>nRetVal = oObj.anyMethod()
>cVal = oObj.anyProperty
>

>
>If the example was intended to discuss the *use* of a VFP COM Server in desktop applications, and either of the above code snippetts was either an example or an answer on a test, and you knew the first one, shouldn't you be able to intuit the second??

Not really. If someone has never seen VB before. the above syntax could be confusing and rather disconcerting. Especially if you are taking a cert exam.
Previous
Reply
Map
View

Click here to load this message in the networking platform