Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SYS(1104) return not zero value ?
Message
De
29/01/2004 08:39:17
 
 
À
29/01/2004 04:14:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00870903
Message ID:
00871745
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform