Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save Screen
Message
From
25/01/2009 15:30:36
 
 
To
25/01/2009 15:20:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01376877
Message ID:
01376911
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform