Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Test
Message
De
18/02/2000 22:34:03
 
 
À
18/02/2000 22:03:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Titre:
Divers
Thread ID:
00333645
Message ID:
00334420
Vues:
25
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform