Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd array behavior
Message
De
01/10/2013 13:49:50
 
 
À
01/10/2013 13:12:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01584589
Message ID:
01584597
Vues:
37
>>Has anyone seen the following?
>>
>>Both test and production servers are running VFP9 sp1
>>
>>
>>On Test Server:
>>
>>dime xxx[1]
>>xxx[1] = {}
>>Select somedate from somefile where someconditions into array xxx
>>
>>?xxx[1] - returns Subscript is out of range error
>>?alen(xxx) returns 0
>>
>>However, on the Production Server we get
>>
>>?xxx[1] = / /
>>?alen(xxx) returns 1
>>
>>What might be causing this?
>
>Always check that _tally>0 before making assumptions about the returned data.

Unfortunately, this is inherited code
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform