Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with set classlib
Message
From
20/05/2020 13:35:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01674509
Message ID:
01674515
Views:
67
Likes (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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform