Changing a 3d text message with a command
#4

Quote:
Originally Posted by Mattjones17
Thanks
It is also limited to 29 characters. Do you know how this can be fixed?

Cheers
Matt
you mean strtok ?
it uses a 30 cell array 29 character and the end of string
because it would be quite useless to use a big array if it only gets a short part of the input

I can advise sscanf, it uses an undefined parameter size
so you can set the size of the arguments you want and the length of the output

sscanf can be found in the wiki /wiki/sscanf

there is a tutorial, too => Fast Commands
It explains, strtok, dcmd, zcmd, sscanf
Reply


Messages In This Thread
Changing a 3d text message with a command - by Mattjones17 - 09.01.2010, 17:00
Re: Changing a 3d text message with a command - by Nero_3D - 09.01.2010, 17:10
Re: Changing a 3d text message with a command - by Mattjones17 - 09.01.2010, 18:58
Re: Changing a 3d text message with a command - by Nero_3D - 09.01.2010, 23:30

Forum Jump:


Users browsing this thread: 1 Guest(s)