From: Harry Binswanger> Hey, that looks great! Thanks. > I don't understand why this is for non-Xy4 users only. Is it that one of > your QDF frames handles it for us XY4ers? No. The DEMO FILE is primarily for Xy3 users who don't have Xy4, or don't use it if they do have it. The helper routines are for Xy4 + U2 only. > Is there a U2 frame for executing all these programs? > Or am I missing something? You're missing the "helper frames" -- the U2 routines that I've been posting here from time to time over the last couple of weeks. Here they are again (with minor revisions from yesterday): '%--_XYENCode_start-- ~ ~ ~ ~ '^'^For_XYWWWEB.INF'.'^'^{xyenc,xydec,xyrun, xyfmt,xytog,ifei2}'^{xyencl,xyench,xyenclh}'^{xyenc50,xydec50, xyrun50}'^'^~ XYENCode_Helper_Frames_for_XyWrite_IV~ _--_C.L.Distefano_rev._1/27/09'^Encode,_Decode,_Format_and_ Execute_XPL_using_Wally_Bass'`s_Amazing_XYENCode_and_XYDECode_ Programs'^'^Wally_Bass'`s_XYENCode_utility_(XYENC.COM)_transla tes_XPL_programs_into_pure_Ascii,_for_viewing_in_any_text_edit or_or_for_transmission_by_e-mail._Its_companion,_XYDECode_(XYD EC.COM),_returns_an_encoded_program_to_the_original_XPL._White _space_and_XyWrite_formatting_can_be_added_to_XYENCoded_progra ms_to_create_a_structured_listing_that_makes_XPL_easier_to_rea d_and_debug_--_all_without_affecting_decoding._Because_they'`r e_blazingly_fast,_these_assembly_language_utilities_can_be_tig htly_integrated_with_XyWrite'`s_command_line_(CMline),_as_exem plified_by_the_routines_described_below.'^'^~ Required_E xternal_Programs~ '^Download_Wally_Bass'`s_XYENCode_and_ XYDECode_package_here'.'^~I~ ~ 'JM2.ViewURL'Q2~>http'.//basspad.com/xywrite /~ '^As_of_this_writing,_the_current_version_was_v0.95_( pre-release)_(xye094x.zip)',_download_the_latest_available_ver sion.'^Situate_XYENC.COM_and_XYDEC.COM_in_the_directory_that_c ontains_~ '^~ '^~ CMline_Usage~ _(all_commands_launched_with_ )'^--------------------- ------------------------------'^XYENC______XYENCode_current_fi le_or_DeFined_block'^XYENC/_____Same_as_XYENC,_except_omit_'`'/ --'-XYENCode'-start_and____'`'/--'-XYENCode'-end_delimiters'^X YDEC______XYDECode_current_file,_DeFined_block_or_code_bounded _by_'`'/--'-XYENCode'-start_and_'`'/--'-XYENCode'-end_delimite rs'^XYFMT____2-Way_Toggle_XPL|Formatted_XYENCode_(entire_file_ only)'^XYFMT2___2-Way_Toggle_to_add|remove_(non-decodable)_emb edded_IV_commands_to|from_formatted_code_listing_(not_usually_ needed_because_called_by_frame_XYFMT)'^XYTOG____3-Way_Toggle_X PL|Raw_XYENCode|Formatted_XYENCode_(entire_file_only)'^XYRUN__ __Run_(execute)_XYENCoded_file_or_DeFined_block'^IFEI2____Test _XPL_code_for_balanced_IF_and_EndIf_statements,_with_option_to _display_structured_XYENCoded_listing_(entire_file_only)'^'^No te_1'._Framenames_XYENC_and_XYENC/_accept_valid_XYENC.COM_argu ments.'^~ Examples'.'^XYENC_45_C___Specify_45-char _line_width_and_perform_checksum_after_encoding)'^XYENC_L_____ Bypass_encoding_of_low-order_Ascii_characters'^XYENC_H_____Byp ass_encoding_of_high-order_Ascii_characters'^XYENC_B_____Bypas s_encoding_of_both_low-and_high-order_Ascii_characters'^~ '^Note_2'._If_no_line_width_is_specified,_frame_XYENC*_supplie s_a_width_of_65.'^'^Any_of_the_CMline_routines_above_can_be_ca lled_as_a_child_process_within_an_XPL_program._For_example'.'^ 'YD'DP'JM2.xydec'Q2',*',_XYDECode_paragraph_under_cursor'^'YD'DL '≪SV50,'≫'JM2.xyenc/'Q2',*',_XYENCode_line_under_cursor'^Not e_that_on_a_call_to_XYENC,_S/G_50_must_either_be_empty_or_cont ain_a_valid_XYENC.COM_argument'|'^See_also_"XPL_Usage",_below. '^'^~ XPL_Usage~ '^---------'^~ XYENC50_and_ XYDEC50'._XYENCode_or_XYDECode_the_string_in_Save/Get_50~ '^Examples'.'^'≪SV50,'BC'≫'JM2.xyenc50'Q2',*',_S/G_50_has_ "'`BC"'^'≪SV50,'`BC'≫'JM2.xydec50'Q2',*',_S/G_50_has_"'BC"'^ '^~ XYRUN50'._RUN_XYENCoded_XPL_in_Save/Get_50~ '^ Example'.'^'≪SV50,'`BCHello,'-World'≫'JM2.xyrun50'Q2',*','^( Decodes_"'`BCHello,'-World"_to_"'BCHello,_World",_then_execute s_it)'^'^~ XYRUN50'._CMline_Programming~ '^XYRUN50 _can_also_execute_XYENCoded_XPL_from_the_CMline._This_is_usefu l_for_commands_that_include_hard-to-handle_characters.'^Exampl e'.'^SEarch_for_1-byte_Ascii-8_(impossible_to_put_on_the_CMlin e_in_1-byte_form'|)'.'^XYRUN50_'`BXse'-|:'?H|'`Q2 '^'^ ~ '^For_use_by_RENUMBER.PM'.'^Renumber_all_XYENCode_helper _frames_in_PACK_mode,'^with_OPTIONs_listed_below'.'^'^XYENC*,X YDEC'^Default_S/G_range_=_01-07',_50'^FREEZE_50'^'^XYFMT'^Defa ult_S/G_range_=_01-08',_49-50'^FREEZE_49-50'^'^XYTOG'^No_S/Gs_ used'^'^XYRUN'^Default_S/G_range_=_01-04',_50'^FREEZE_50'^'^XY ENC50,XYDEC50,XYRUN50'^Default_S/G_range_=_01-04',_50'^FREEZE_ 50'^LEFT$(1)'.__'/'^'^IFEI2'^Default_S/G_range_=_01-05',_50',_ 96'^FREEZE_50_96'^LEFT$_(1)'.__RK'.'^~ '^-~I-~I-~I-~I-~I- ~I-~I-~I-~I-'^~ '^For_XYWWWEB.U2'.'^'^{{5xyenc50,xydec50,x yrun50}}_Encode|Decode|RUN_XYENCoded_XPL_contained_in_S/G_50_[ CLD_1/25/09]'^~B~ <1~>~ ~ ~ ~> ~ )~>~ ~>'JM2.GetPath'Q2~ +"\"~>~ +~ +".IN"~>'BXsa_'/01,~ 'Q2'BXwt'Q2~
+~ +".OUT"~>'BXernv_~ 'Q2'BXwt'Q2~ ~ ~="EN"~>~ ~ 'BXdos/nv/x/z_/c_~ XY~ .COM_._~ <~ 'Q2 ~ ~ 'BXexist_~ 'Q2~ )~>~ ~ 'BXp'Q2~ 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