Comments inside strings
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Why would you want to do that in the first place?
Because if I come back to this in the future:

"4 53 1325435 325 454 53541 134 3143" (pretend it's real model ids) and want to remove for example, a Buffalo, instead of just looking for a comment saying // Buffalo I have to mess around finding the model for the Buffalo.

I actually have two options here..

Option 1: Have a string of sporty vehicles and split that in to an array of models, like others.
Option 2: Have an array of models and just reference that when I need it.

Option 2 would be better, but the problem is I'd have to make two separate systems if I go with option 2, so I lazily chose this.

@Gh05t_: I know strings are arrays. The context I meant was one was an array of models, one was a string of models.
Reply


Messages In This Thread
Comments inside strings - by MP2 - 27.06.2012, 16:23
Re: Comments inside strings - by Vince - 27.06.2012, 16:27
Re: Comments inside strings - by Gh05t_ - 27.06.2012, 16:28
Re: Comments inside strings - by MP2 - 27.06.2012, 16:32
Re: Comments inside strings - by Britas - 27.06.2012, 16:36
Re: Comments inside strings - by MP2 - 27.06.2012, 16:43
Re: Comments inside strings - by Gh05t_ - 27.06.2012, 16:48
Re: Comments inside strings - by Roko_foko - 27.06.2012, 16:52
Re: Comments inside strings - by MP2 - 27.06.2012, 17:13
Re: Comments inside strings - by Gh05t_ - 27.06.2012, 17:35
Re: Comments inside strings - by Mauzen - 27.06.2012, 18:47
Re: Comments inside strings - by MP2 - 28.06.2012, 02:35

Forum Jump:


Users browsing this thread: 1 Guest(s)