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.

Dark GDK / How to output a variable?

Author
Message
Tony Mak
16
Years of Service
User Offline
Joined: 24th Nov 2007
Location:
Posted: 25th Nov 2007 11:37
How to output a variable?
I try dbPrint, but it can't
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th Nov 2007 14:30
dbText( 10, 10, dbStr( var ) )

Unless your variable is a char*, of course.

"It's like floating a boat on a liquid that I don't know, but I'm quite happy to drink it if I'm thirsty enough" - Me being a good programmer but sucking at computers
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Nov 2007 17:58
... or use dbPrint with a few casts or helper functions.



That should cover the majority of your needs for the basic types.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code

Login to post a reply

Server time is: 2024-09-29 05:32:18
Your offset time is: 2024-09-29 05:32:18