Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - merthsoft

Pages: 1 ... 8 9 [10] 11 12 ... 16
136
TI Z80 / CALCnet C# Library
« on: February 06, 2011, 09:11:34 pm »
I have made a C# library for interfacing with calcnet. You can get it at ticalc: http://www.ticalc.org/archives/files/fileinfo/435/43531.html. You can use it to make software for your computer that interfaces with calculators over globalCALCnet. Here's a screen shot of a chat program I made using it:

Let me know if you have any questions or end up using it! I'd love to see some projects made with this (I think sircmpwn is already thinking of something, maybe he'll share :)).

137
Math and Science / Re: Factorials
« on: January 30, 2011, 02:58:51 am »
The wikiedpia article on factorials maybe be an enjoyable read if you're in to this sort of stuff. The link I posted is specifically talking about some negative stuff.

138
News / Re: First Calculator on IRC
« on: January 06, 2011, 01:30:36 am »
Are we sure this is the first? I know there's a telnet client out there for calcs, so it could've been done before.

139
TI Z80 / Re: Tokens
« on: December 27, 2010, 06:10:32 pm »
Alright, I figured I ought to release a build with all these updates. Note, the readme is not updated.
http://myserverathome.com/Tokens.zip

140
TI Z80 / Re: Tokens
« on: December 26, 2010, 09:13:28 pm »
Very nice! Any idea when this will be completed?
I don't really have a time line. "When it's done", I suppose.

141
TI Z80 / Re: Tokens
« on: December 25, 2010, 02:22:23 pm »
I'm not sure why else if is any more confusing that elseif, but ok:



142
TI Z80 / Re: Tokens
« on: December 25, 2010, 01:23:51 pm »
Yes.
Code: [Select]
#if blah1
...
#else
#if blah2
...
#else
#if blah3
...
#endif
#endif
#endif
This would, of course, be better with an #elseif, I just haven't gotten around to that, yet.

143
TI Z80 / Re: Tokens
« on: December 25, 2010, 01:15:59 pm »
I've done some more with preprocessor stuff. There's now if(n)def/else/end:


You can see that it tokenizes a different line depending on what's defined and which one you use. You can embed them, as well:


144
TI Z80 / Re: Tokens
« on: December 21, 2010, 11:57:29 pm »
Yeah I am confused at define too ???.  Sorry. Nice to see new updates, though.
It's basically just aliasing a variable. So you can make anything be any value. If you use the matrix [A] to be your map matrix, you can #define MAP [A], and everywhere you would use [A], you can now use MAP. This can help make it more readable. As in the example image, the FV variable is used as the key variable, so you can alias it. You can do it with constants, too. Let's say your map width and height are 30. You can "#define map_width 30" and "#define map_height 30", and use map_width and map_height wherever you would use the constant 30 for those variable. Now, if you want to change the map_width to 45, you can just change the #define, and it'll effectively change it everywhere else in the program.

145
TI Z80 / Re: Tokens
« on: December 21, 2010, 08:02:39 pm »
EDIT: It's updated on the site, right?
No.

146
TI Z80 / Re: Tokens
« on: December 21, 2010, 07:12:41 pm »
Yes, shaun/merth/merthsoft...
You need only refer to me by one moniker. My chosen one on forums being merth or merthsoft ;)

Today I have an update! I've added preprocessor directives (kind of). You can #define something, and #undefine it. The syntax is:
Code: [Select]
#define word-to-replace replacement-wordand it works similar to C, just a little less functional. Basically, it'll replace all instances of word-to-replace with replacement-word, no matter where they occur in the text. This means if you have #define Map [A], it'll replace DrawTileMap with DrawTile[A], which will not give you the expected results. Also, as per the names, it only does word-by-word replacement, so you cannot #define word some series of words you want to replace. If that seems like something it ought to be able to do, I can add it (I think I probably will, that way you can do Boolean expressions). Here's a before shot:

As you can see, comments and directives get removed from the byte-pane, using instead a blank line. I've also changed the comment-starting-thing to be "//" instead of "#", opting to use "#" as a directive starter. These will be customizable.
And here's the "compiled" program:

147
TI Z80 / Re: Tokens
« on: December 19, 2010, 07:35:09 pm »
Well in that case, it's ok. As long as it's not getting release elsewhere or used in something that's released I'm ok with it.
Ultimately, I don't want something I worked hard on getting used in any rival software.

148
TI Z80 / Re: Tokens
« on: December 19, 2010, 07:32:12 pm »
Also, I illegally use your XML files as tokens databse since the .inc file is confusing :P
You probably shouldn't (admit to) steal(ing) someone's intellectual property... I don't appreciate you using the file without permission for anything outside of TokenIDE.

149
TI Z80 / Re: Tokens
« on: December 19, 2010, 07:27:10 pm »
It works with Axe too, though, right? I think it's designed for Axe, BASIC and Hybrid.
It's more designed with (Hybrid)BASIC in mind, but you can do Axe. There's even an xml file for Axe, and the Hex sprites make it nice. I plan on learning Axe so that I can make it work even better for that. When I first came up with this idea (years ago...) there was no Axe. I actually first came up with this idea when Celtic III was still being written!

150
TI Z80 / Re: Tokens
« on: December 19, 2010, 04:15:41 pm »
Alright, progress on the DCS GUI editor:

The only items not able to be added at this point are the buttons, the sprites, and the mouse cursor. After I've added those, the next step will be to clean up the output (it's doesn't actually output correctly right now), fix the rendering of the items (at the very least use the right font), and then add the ability to save/load GUIs as XML, that way if you make one you can easily open it back up and modify it.
You may notice that GUIRWinButtons isn't an available item. I've made that part of the containers themselves. If you look at the properties pane, you can see the WinButton* items.
Also, I seem to have forgotten to include this update:

You can now specify a website in the XML, and you can right click to launch your browser and go to that site. If no site is found, it'll go to the site listed in the level above it. If nothing can be found, it'll yell at you.

Pages: 1 ... 8 9 [10] 11 12 ... 16