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.

Newcomers DBPro Corner / Displaying text from a user Defined type

Author
Message
Jac
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location:
Posted: 23rd Oct 2005 11:34
Hi, below is the beginning of my menu code for a simple game that I have almost finished. I'm a beginner and this is the first time that I've used types. The types seem to work as the code returns the values I'm after when using the types.



The problem. I have a string in the type I try top use the text and print commands to show the string on the screen and nothing happens?

I can't work out why, any pointers in the right direction would be much appreciated.

Jac

These are not the droids you are looking for.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 23rd Oct 2005 14:34 Edited at: 23rd Oct 2005 14:35
text xPre1,yPre1, menu(x).title

shold be

text xPre1,yPre1, menu(xMen).title

The syntax is fine, it's just a small typo!

Jac
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location:
Posted: 23rd Oct 2005 15:38
Thanks BatVink

I usualy spot the typo's but with being a new thing I'm trying I didn't trust myself that the syntax was right.

Thanks again.

These are not the droids you are looking for.

Login to post a reply

Server time is: 2024-09-24 07:30:13
Your offset time is: 2024-09-24 07:30:13