Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with set classlib
Message
De
20/05/2020 13:35:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01674509
Message ID:
01674515
Vues:
66
J'aime (1)
>>>>>If i use the command
>>>>>Set myClass to cClasslib Alias Ap1 Additive IN Test.Exe
>>>>>i receive
>>>>>Command contains unrecognized phrase/keyword
>>>>>but the syntax seems correct.
>>>>>
>>>>>If i delete the "In Test.Exe" i have no errors but i need it because in the exe files i'm working i have not the class i need
>>>>>
>>>>>Someone can help me suggesting where is my error ?
>>>>>
>>>>>Thanks
>>>>
>>>>That's a syntax I have never seen before. Please check Help. And make sure that you have the updated Help file, which you can download from https://github.com/VFPX/HelpFile
>>>>
>>>>NB! Note that using the right order of the parameters sometimes is necessary.
>>>
>>>SET CLASSLIB TO ClassLibraryName [IN APPFileName | EXEFileName]
>>> [ADDITIVE] [ALIAS AliasName]
>>>
>>>This is the last version of help . In this exact order, the same error
>>
>>You have "Set myClass to ....", not "Set Classlib to ..."
>I made an error in example. I have
>Set classlib to myClass IN Test.Exe Additive Alias Ap1
>and i have the error

Looks like ADDITIVE has to be last. That makes sense since each classlib can have an ALIAS, but you only put ADDITIVE once.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform