main: func[ /file the-file /get /put ] ... should look fine? another: main: func[ /put p-file /get g-file ][ file: any[p-file g-file ... ] but: > /put orderfile-name [string!] "Put an orderfile on our server" > /get orderfile-name [string!] "Put an orderfile on our server" if you want to put in both cases, why the differcne?! ;-) Volker --- [EMAIL PROTECTED] wrote on 5-Sep-2000/8:03:50-7:00 > I have a function that will either get or put a filename... of course I want to use >the same name > > for the file regardless, and this will not pose a problem because the arguments are >mutually exclu > > sive. > > However, REBOL is complaining about me using the same name for 2 mutually exclusive >arguments > > > REBOL [ Title: "Main script" ] > > main: func [ "Performs order file transfer" > /name-product product-name [string!] "The product name" > /index-upfile upfile-index [integer!] "The index to be used for the upfile. >Useful when you have > > many upfiles and don't want to overwrite a previous one." > /put orderfile-name [string!] "Put an orderfile on our server" > /get orderfile-name [string!] "Put an orderfile on our server" > /date-upfile upfile-date [date!] "The date to be encoded into the upfile name" > /create-upfile upfile-name [string!] "This automatically creates and upfile. >The argument to this > > option is the word 'cancel' or 'nocancel', specifying whether you want the upfile >to contain a ca > > ncel or nocancel command" > /wait-on-controlfile controlfile-wait-time [time!] "Specifies the localtime >that the script will > > continue to try to look for the control file until. This option can only be used >with the /get opt > > ion" > ] [ ] > > > > > Get your FREE Email and Voicemail at Lycos Communications at > http://comm.lycos.com > > >