Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why SYS(1104) return not zero value ?
Message
From
29/01/2004 08:39:17
 
 
To
29/01/2004 04:14:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00870903
Message ID:
00871745
Views:
13
Fabio, this is very strange. In that thread, Andrew uses the code:
release x
x=sys(1104)
? x
?type(x)
First of all, notice that when you get the result of '? x', the '0' (or whatever number) has no leading spaces - therefore it is a string.

Also the whole thing doesn't seem to make sense. The syntax for Type() should have been Type('x'), and that returns 'C', not 'N'.

Try this:
Release y
y = 5
? y
? type(y)
First, the '? y' produces 5 with leading spaces. And then you get an error on Type(y). Why no error on Type(x)?

x is an address pointer pointing to a string?

>Alan,
>
>Read Thread #859825
>
>Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform