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