Short: Support program for ragui scripts Author: lorylombus@gmail.com (Lorence Lombardo) Uploader: lorylombus@gmail.com (Lorence Lombardo) Type: util/batch Requires: ragmcc.library Version: 1.7a Architecture: m68k-amigaos remarg 1.7a (c) 2023 Lorence Lombardo. ? "remarg" is a support program for ragui or ReadArgsGUI scripts but you might find other uses for it. This program was designed with the script "bgpk_r_RA_GUI2". Usage:- remarg FILE/A,KW/K,SW/K,TO/K example: ======== echo >ram:tst.txt "infile ram:bla_tit this is the rest of the args" remarg ram:tst.txt kw infile type ram:tst.txt The arguments "infile" & "ram:bla_tit" both have been removed because the "kw" has told remarg that "infile" is a keyword and the next argument is belonging to it. The argument belonging to the keyword is stored as a local variable just in case you need to use it again. Type "set" without the quotes to see the variables. When removing switch only arguments "sw" should precede. Switches will be set to 0 or 1 if found. "remarg" is currently case sensative with its argument matching. A golden rule of operation is that all text keywords with a text input in the argument file should be removed before removing a text switch only argument and before searching for a text switch only argument. By removing all text keywords with a text input first you remove the confusion with switches. Confusing ? I hope the script examples clarify things for you. related URL's:- http://geocities.ws/lorylomb/ragmcc.txt http://geocities.ws/lorylomb/ragmcc.lha http://geocities.ws/lorylomb/