Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I declare a variant in FoxPro
Message
From
28/05/2013 08:37:37
 
 
To
28/05/2013 02:50:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257922
Message ID:
01574916
Views:
86
>I have exactly the same problem and am scratching my head all along. Here is a sample of my code :
>
>Comp=CREATEOBJECT("XceedSoftware.XceedCompression")
>?oComp.License("xxxx")
>x=SPACE(100)
>?oComp.Compress("abhay",@x,.t.) && Returns 0
>?ocomp.GetErrorDescription(0) && Returns Operation completed successfuly.
>
>But the x variable remains blank. Nothing gets compressed at all.
>
>Just for this reason, I cannot decide for buying the Xceed component.
>
>Abhay

I would not know for sure, but you could try to declare x as public variable:

PUBLIC X
X = SPACE(100)
?oComp.Compress("abhay",@x,.t.)
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform