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.
>>>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