General information
Category:
Conferences & events
>>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
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