Actually, NXText is not a text editor. It cannot create or edit text files. Instead, it is a text file viewer and manager. Hopefully this clears up any confusion. But anyway, the source code for NXText is attached below. You are free to use as much or as little of the code as you want, but I would appreciate some form of attribution. Also, I tried compiling NXText with the latest version of BricxCC (3.3.8.9), and it did not complete without some errors. The .rxe is included, however, so you should still be able to download that to your NXT and run it. But if anybody would like to go through and figure out what's triggering the compiler errors, that would be awesome. I am not yet caught-up on what's changed in NXC since I fell off the planet, so that's why I'm reluctant to debug the program myself.studbrickmaster wrote: NXText NXC was a text writing program, not a messaging program.
NXText NXC?
Re: NXText NXC?
Re: NXText NXC?
THANKS!
Good to see you back, NXT Freak.
Good to see you back, NXT Freak.
Re: NXText NXC?
NULL
is now a keyword, so you can't use it as a variable. Furthermore, you must use Flatten(CONSTANT)
whenever comparing a constant to a character literal. I've attached a fixed version that will hopefully work.
- Attachments
-
- NXText NXC v3.02_Fixed.zip
- (171.43 KiB) Downloaded 363 times
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 358
- Joined: 01 Oct 2010, 06:37
- Location: Denmark
- Contact:
Re: NXText NXC?
Is there a changelog somewhere? I haven't been updated recently either so I would like to know what have changed.
I made a file viewer a while ago which was intended to work as an example for the NXC file I/O tutorial I still haven't made... There is also an text viewer in it which uses my word-wrapping library. I'm planning to add a proper RIC file viewer (so it is easier to check the correctness of RICcreator), so if any are interested I can release it by then.
EDIT: I realize that I'm using BCC 3.3.8.9 but it is half a year old, there must surely be a newer test release? Are they still at http://bricxcc.sourceforge.net/test_releases/, or do you grab them somewhere else now?
I made a file viewer a while ago which was intended to work as an example for the NXC file I/O tutorial I still haven't made... There is also an text viewer in it which uses my word-wrapping library. I'm planning to add a proper RIC file viewer (so it is easier to check the correctness of RICcreator), so if any are interested I can release it by then.
EDIT: I realize that I'm using BCC 3.3.8.9 but it is half a year old, there must surely be a newer test release? Are they still at http://bricxcc.sourceforge.net/test_releases/, or do you grab them somewhere else now?
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXText NXC?
Yes, the latest test releases are there. I am using 3.3.8.10, and I believe it is the latest test version.spillerrec wrote:...EDIT: I realize that I'm using BCC 3.3.8.9 but it is half a year old, there must surely be a newer test release? Are they still at http://bricxcc.sourceforge.net/test_releases/, or do you grab them somewhere else now?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: No registered users and 0 guests