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 / help with looping and my other questions

Author
Message
JZ28
15
Years of Service
User Offline
Joined: 2nd Feb 2009
Location:
Posted: 30th Jul 2009 20:39 Edited at: 25th Aug 2013 01:07
:/

:/
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 30th Jul 2009 21:25
You could use an array:


There's something in this room that makes you can't speak well.
JZ28
15
Years of Service
User Offline
Joined: 2nd Feb 2009
Location:
Posted: 30th Jul 2009 23:41 Edited at: 25th Aug 2013 01:08
:\

:/
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 31st Jul 2009 00:29
I don't think so. Since you are working with types, I believe that you have to do each suffix independently. Sorry.

You might be able to do something like this:



There's something in this room that makes you can't speak well.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 31st Jul 2009 02:31 Edited at: 31st Jul 2009 02:35
Quote: "can i do something to make all that one line. like use commas in English instead of repeating the sentience"


You found the one annoyance with working with UDT's... not every situation is better with UDT's. But your over complicating it. You don't need to load a string into a temp string then add it to the array. When you load just load directly into the array. And when you use UDT's you don't use the $ symbol because you define it as a string.



JZ28
15
Years of Service
User Offline
Joined: 2nd Feb 2009
Location:
Posted: 31st Jul 2009 04:24 Edited at: 25th Aug 2013 01:08


:/

Login to post a reply

Server time is: 2024-11-24 04:25:49
Your offset time is: 2024-11-24 04:25:49