230 likes | 344 Vues
PowerPPL v2.1 is an intuitive interface designed for converting strings between 7-bit and 8-bit formats. Developed by Paul Miller on October 12, 1996, this tool streamlines the translation process without unnecessary complexity. Users can input strings and choose to convert them directly to either format. The program includes options to enter new strings and cleanly displays the results of conversions, facilitating easy text processing. Perfect for users needing quick conversions for EMSI/IEMSI compatibility and handling character encoding in legacy systems.
E N D
;-----------------------------------------------------------PowerPPL v2.1----
;----------------------------------------------------------------------------;----------------------------------------------------------------------------
; this program basically is an interface for the two functions, To7Bit and
For x = 127 to 254 • allchars = allchars+chr(x)
While (response != "Q") do • Cls • PrintLn "EMSI/IEMSI 7-Bit and 8-Bit translation" • PrintLn "--------------------------------------" • NewLine • PrintLn "String = """, str, """" • NewLine • PrintLn "1. Enter new string" • PrintLn "2. Convert to 7-Bit" • PrintLn "3. Convert to 8-Bit" • NewLine • InputStr "(Q=Quit) Selection", response, 7, 1, Mask_Ascii(), ERASELINE+UPCASE • Select Case response • Case 1 • InputStr "String", str, 7, 200, allchars, HIGHASCII • Case 2 • Print "Working ..." • str = To7Bit(str) • Case 3 • Print "Working ..." • str = To8Bit(str) • End Select