Hi Antennaman,
TIMEOUT is a reserved keyword in PB/CC 2.0 and PB/DLL 6.0... it is
used with the TCP statement.
The solution is to rename the variable in the PowerTREE code from
TIMEOUT to some other unique name, such as TmOut, etc.
I hope this helps!
Quote:
>The program Browse.bas, example shipped with Ptree does not work in PBCC2.
>Error is on line LOCAL TIMEOUT AS LONG, Error 426 Variable expected. Whats
>new in Ver 2?
>Thanks!
Lance
powerbasic Support
-------------------------------------------------------------------------
PowerBASIC, Inc. | 800-780-7707 Sales | "We put the Power in Basic!"
316 Mid Valley Center | 831-659-8000 Voice | http://www.powerbasic.com