Re: [Freedos-user] Fox-cubs v0.1 appared!
Hi there, Kristaps Kaupe escribi: Tuesday 03 May 2005 21:43, Fox rakstja: Hi there, I want to announce that I wrote Fox-cubs v0.1. It's a Pascal library (TPU unit) which supports using CATS/Kitten formatted language files into Pascal programs. With Fox-cube the programmer get a new function, called LoadMessage, some technical stuff: If I remember correctly, there is already some Cats Pascal implementation by Aitor, written few years ago. Can't find the URL right now. Yes, that's right. Here it is the url for everybody: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/cats/old/ that's catspas.zip. A quick hack based on a direct translation from the old CATS (no kitten), so I said nothing. I was planning to use it on KEYB, but so far I have mostly turned PAS-ASM, so it isn't under activ e development right now, nor I think it will. At the moment you can have KEYB translated by translating the hardcoded messages in KEYBMSG.NLS file and re-compile, but will change that in the future. Aitor PS: Kristaps, I assume that my message will disappear and never arrive freedos-devel, could you please forward it to freedos-user for me? Thanks! --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Fox-cubs v0.1 appared!
Hi there, I want to announce that I wrote Fox-cubs v0.1. It's a Pascal library (TPU unit) which supports using CATS/Kitten formatted language files into Pascal programs. With Fox-cube the programmer get a new function, called LoadMessage, some technical stuff: USES FOXCUBS; FUNCTION LoadMessage(X,Y: ShortInt): String When called in a program, it search for the language file in three directory: 1. %NLSPATH%\app_name.%LANG% 2. %NLSPATH%\%LANG%\app_name 3. The program's path If found, it search inside the file for the message with numbers X.Y and return it as the function's result. If language file not found, or specified number message not found into the file, the function return an empty string. The unit seems to works great, by the way - I used it into FreeDOS Password v0.5 :-) It's of course under GPL, and have sources included. Pascal programmers, let's start to support CATS/Kitten with Fox-cubs! (just remember to credit me somewhere :-P ) NOTE: The v0.1 don't supports escape codes yet (by the way, who needs them??) Regards, Fox --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Fox-cubs v0.1 appared!
On Tuesday 03 May 2005 20:43, Fox wrote: Hi there, I want to announce that I wrote Fox-cubs v0.1. It's a Pascal library (TPU unit) which supports using CATS/Kitten formatted language files into Pascal programs. With Fox-cube the programmer get a new function, called LoadMessage, some technical stuff: USES FOXCUBS; FUNCTION LoadMessage(X,Y: ShortInt): String When called in a program, it search for the language file in three directory: 1. %NLSPATH%\app_name.%LANG% 2. %NLSPATH%\%LANG%\app_name 3. The program's path If found, it search inside the file for the message with numbers X.Y and return it as the function's result. If language file not found, or specified number message not found into the file, the function return an empty string. The unit seems to works great, by the way - I used it into FreeDOS Password v0.5 :-) It's of course under GPL, and have sources included. Pascal programmers, let's start to support CATS/Kitten with Fox-cubs! (just remember to credit me somewhere :-P ) NOTE: The v0.1 don't supports escape codes yet (by the way, who needs them??) Sorry, I forgot to tell the URL :) http://the.killer.webpark.pl/en/fox-cubs.htm Fox --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user