Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Screen
Message
De
25/01/2009 15:30:36
 
 
À
25/01/2009 15:20:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01376877
Message ID:
01376911
Vues:
19
I'm converting an old Clipper program. There are a bunch of SAYs and GETs. The user wants it to look just like his old program - doesn't want to spend $$ modernizing it.

>Strange. I try it several times before posting it. Now when I try it I get the same error. Back to the drawing board.
>
>By the way, what are you using this command for in VFP 9.0? It appears to only effect the contents of the desktop, and not the windows only.
>
>>Not so.
>>
>>The following code generates a 'data type mismatch' since gg is still .NULL. when RESTORE is executed.
>>
>>
>>PUBLIC gg
>>gg = .NULL.
>>SAVE SCREEN TO gg
>>RESTORE SCREEN FROM gg
>>
>>
>>>The variable needs to be defined first.
>>>
>>>
>>>local gg
>>>gg = .NULL.     && be sure to initialize first.
>>>Save Screen to gg
>>>...
>>>Restore Screen from gg
>>>
>>>
>>>The Save Screen command appears it doesn't create the variable if missing.
>>>
>>>>Hi All:
>>>>
>>>>In the following code, I'm getting 'Variable "gg" is not found'.
>>>>
>>>>
>>>>SAVE SCREEN TO gg
>>>>RESTORE SCREEN FROM gg
>>>>
>>>>
>>>>What am I doing wrong?
>>>>
>>>>Thanks,
>>>>
>>>>Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform