Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd array behavior
Message
De
01/10/2013 13:02:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Odd array behavior
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:
01584589
Vues:
68
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?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform