Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Legal coding of As clause (re (strong) typing)
Message
From
19/07/2001 11:09:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00532549
Message ID:
00532588
Views:
12
>>I have been going through the new VFP documentation supplied in the July 2001 MSDN Library.
>>
>>While I see the new "As" clause for LOCAL, LPARAMETERS, PARAMETERS, etc. I cannot find anything that explains/describes how/what can be coded there.
>>
>>Under the topic "Strong Typing in Class, Objects and Variable code" there are examples such as:
>>PUBLIC ARRAY MyArray[2] AS _form OF ffc\_base
>>
>>LPARAMETERS MyParam1 AS string OF _base.vcx
>>
>>PARAMETERS MyParam1 AS custom OF Mybase.vcx
>>
>>Any help appreciated.
>>
>>JimN
>
>Jim,
>Any valid variable data type can go there (Datetime, Character, Logical, Void). Statements like this are more for the TypeLib declarations (IMO). In addition, a PrgID for a COM class or a VFP class and class lib can be used. Statements like this are more for Intellisense.
>
>HTH.

Yes, it helps Larry.

But, for instance, I've seen "VOID" coded in examples through the years and always just sloughed it off as 'just C code that I needn't concern myself with'. Now, to exploit Intellisense, I have to concern myself with that "stuff".

I have no idea what "VOID" actually means and why I would use it. Something that describes whats valid and what it describes (means) is what I hope to find in the docs.

Thanks
JimN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform