String support
Page 1 of 1

Author:  xonev [ Tue Feb 16, 2010 7:03 pm ]
Post subject:  String support

Hello, I've just started messing around with RobotC and have been looking for documentation that will tell me what the similarities/differences between RobotC and standard C are. So far, I have been unsuccessful. Is there such documentation? So far I've gathered that function pointers and recursion are not possible. What other limitations are there?

Specifically, the main question I have is what kind of support is there for strings or C strings? I tried using the `string` keyword since it had syntax highlighting, but it gave me an error about that not being supported on this platform. I also tried using char pointers, but it doesn't seem to like double-quote syntax, e.g. `char * x = "string";`... What can I do?

Author:  magicode [ Tue Sep 14, 2010 9:27 pm ]
Post subject:  Re: String support

Older platforms do not support strings. go to Robot : Platform Type. All of the cortex platforms support stings, but I don't know about NXT. Same goes for doubles, longs...ect.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group