Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blob Field (Q) vs. Memo (binary)
Message
De
12/03/2012 09:49:24
 
 
À
10/03/2012 13:29:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01537752
Message ID:
01538040
Vues:
95
>>>Q - VARBINARY (1-255)
>>>W - BLOB (VARBINARY (1-2GiB) )
>>>
>>>
>>>MartinaJ
>>>
>>
>>is not so simple.
>>
>>
>>CREATE CURSOR AA (WW W)
>>APPEND BLANK
>>REPLACE WW WITH REPLICATE(0H0,10000)
>>WW=WW
>>? VARTYPE(m.ww),VARTYPE(AA.WW),LEN(m.ww)
>>? TYPE("m.ww"),TYPE("AA.WW")
>>
>
>Fabio,
>
>Hmmm that's interesting, have you found a bug?
>try:
>
>Declare myArray(1,1)
>myArray[1.1]=REPLICATE(0H0,10000)
>ww=myArray[1,1]
>? Vartype(m.ww), Vartype(myArray[1,1]), Len(m.ww)
>? Type("m.ww"), Vartype("myArray[1,1]")
>
>
>Ciao,
>
>Koen

I think not.
If you read the documentation you see that
VarType () never like W or M or V, but Q or C only;
this because the VFP engine have W,M,V on fileds only.

Ciao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform