>>>Let's say I have:
>>>
>>>* PROGRAM1.PRG
>>>#INCLUDE c:\temp\special.prg
>>>? test*2
>>>RETURN
>>>
>>>* c:\temp\special.prg
>>>test=5
>>>
>>>
>>>
>>>An error is generated saying "test" is undefined.
>>>
>>>I thought #INCLUDE includes the file.
>>>If the file is included, why is "test" undefined?
>>>
>>>Thanks,
>>>Gene
>>
>>#DEFINE test 5
>
>Dave,
>
>I actually want to have the line say:
>
>test=5
>
>Want I am trying to do is to include special code (not just test=5).
>
>I may actuaaly have in the file to be included:
>
>DO WHILE .t.
> whatever
>ENDDO
check arnon's response -- included files are supposed to hold constants (#define test 5). makes programs easier to read and maintain.