This is my code:
**if** FWordApp = UnAssigned **then**
FWordApp := CreateOleObject('Word.Application') ;
Result := FWordApp;
The above sits in a GETter for a property of type OleVariant.
The first time, it goes through fine, compares TRUE to Unassigned. However, the same isn't true the second time, where comparing to UnAssigned gives me an Invalid Variant Operation error.