Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass NULL instead of array
Message
 
 
To
23/02/2019 14:25:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01666677
Message ID:
01666680
Views:
37
>>Hi,
>>
>>I have a function that receives a parameter, an array. The code is as follows:
>>
>>
>>Function MyFunc
>>LPARAMETERS tParam1, tParam2, taMyArray
>>EXTERNAL ARRAY taMyArray
>>
>>
>>I need to add the 4th parameter. In the case of the 4th parameter the 3rd is not necessary. If I pass the 3rd parameter (taMyArray) set to NULL will I have a problem? Since the next line (EXTERNAL ARRAY taMyArray) expects this parameter to be an array.
>>
>>TIA
>
>You wouldn't have any problem. You could as well pass anything.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform