Digistump Forums

The DigiX => DigiX Support => Topic started by: Techno on March 15, 2014, 04:21:14 am

Title: How to convert -- while(client.connected); ?
Post by: Techno on March 15, 2014, 04:21:14 am
Does DigiFi client have an equivalent statement?  I keep getting error:    "can not covert to boolean."

William
Title: Re: How to convert -- while(client.connected); ?
Post by: tastewar on March 15, 2014, 06:46:51 am
I suspect you're wanting the return value from the connected function, not the address of it, so you must call the function. Try:

Code: [Select]
while(client.connected())