Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / On the "Screensaver" Topic once again

Author
Message
pgr
21
Years of Service
User Offline
Joined: 29th Feb 2004
Location:
Posted: 6th Dec 2004 08:22 Edited at: 6th Dec 2004 09:06
Hi guys!

I was using a Sample Screensaver Framework from "zircher" (http://forum.thegamecreators.com/?m=forum_view&t=35514&b=1) some time ago with Version 5.2 of DBPro. I wanted to continue some stuff and since i updated to 5.7 it always gives me this error:

Types '@in$'and " are incompatible at line 182.

Can anybody help me to fix this error?

Thanks

DarkBasic Pro Guy
21
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 6th Dec 2004 12:52
I would ask zircher himself.

Dimension
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 6th Dec 2004 14:09 Edited at: 6th Dec 2004 14:11
try replacing line 182 with this(<> basicly means not)
if in$ <> "/p" then hide mouse

He was probaly using a older version of darkbasic pro.
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 6th Dec 2004 20:59
I think Dimension nailed it. Alternately, try...

if not (in$="/p") then show mouse

My guess is that 5.7 is trying to evaluate the expression as (not in$) = "/p" which would be a problem.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
pgr
21
Years of Service
User Offline
Joined: 29th Feb 2004
Location:
Posted: 8th Dec 2004 00:55
hi guys,

i need your help again. I´m having trouble translating this part of the code to the way explained above...



Can anybody help me getting this framework to work again?

regards,
pgr
pgr
21
Years of Service
User Offline
Joined: 29th Feb 2004
Location:
Posted: 8th Dec 2004 01:21
nevermind, works now

Login to post a reply

Server time is: 2025-06-10 05:26:57
Your offset time is: 2025-06-10 05:26:57