(Comp.sys.handhelds) Item: 1283 by cloos at acsu.buffalo.edu Author: [James H. Cloos] Subj: An rpl version of KCRC Date: Thu Nov 29 1990 07:56 Please find enclosed a RPL version of KCRC. The usage is the same as for the previously posted userlang version. The algorithms used here are the same; all that is different is that I went thru and changed each occurance of a usrlang command with the routine that the given command calls after confirming the required args are on the stack. The XTIME routine in Jim Donnelly's toolkit says this takes about half the time as the usrlang version. This actually uses xSTARTVAR (aka FOR) rather than the true RPL looping routines as I don't have the info on exactly how to use the true RPL looping routines, and also as I would need the addresses of the RPL commands that do multiplication, xor, et. al. on shorts. In a future article, I'll go thru the motions of how I did this. Also, you'll note that if there isn't a string on level 1, you'll get an error message that says "XLIB 3152 116 error:". I believe that if you put this into a library, that error message would replace the "XLIB 3152 116" with the program's name. I've not tested this yet, though. Enjoy. -JimC -- James H. Cloos, Jr. Phone: +1 716 673-1250 cloos@ACSU.Buffalo.EDU Snail: PersonalZipCode: 14048-0772, USA cloos@ub.UUCP Quote: <>