Path: news.cs.au.dk!news.net.uni-c.dk!newsfeed1.uni2.dk!newsfeed.tli.de!newscore.gigabell.net!newscore.ipf.de!news-fra1.dfn.de!news-koe1.dfn.de!Uni-Dortmund.DE!brain.gh.wh.uni-dortmund.de!volkher From: Volkher Kaschlun Newsgroups: comp.lang.beta Subject: guienv and arguments Date: Sun, 28 Mar 1999 22:34:42 +0200 Organization: gh network Lines: 39 Message-ID: Reply-To: volkher.kaschlun@student.uni-dortmund.de NNTP-Posting-Host: server.gh.wh.uni-dortmund.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cache-Post-Path: server.gh.wh.uni-dortmund.de!unknown@brain.gh.wh.uni-dortmund.de X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: news.cs.au.dk comp.lang.beta:11885 Hallo! While I was writing a program using guienv, which should be started with some arguments, I noticed, if it was started with the argument -name followed by another word, these two arguments are lost. I have tested it with the following program on linux. ORIGIN '~beta/guienv/v1.6/guienv'; -- program: Descriptor -- guienv (# do noOfArguments->putInt; newline; (for i: noOfArguments repeat i->arguments->putLine for); terminate #) Running it, shows this volkher@brain:/home/volkher/beta > ./argumentsTest -name volkher ******************************************************************* * Note: This program was compiled using a Personal Edition of the * * Mjolner BETA System and may not be used for commercial purposes * ******************************************************************* 1 ../argumentsTest This happens only using guienv. Regards Volkher Kaschlun Gibbenhey 5, 44227 Dortmund Phone: +49 (0)231 759861 e-mail: volkher.kaschlun@student.uni-dortmund.de (kaschl00@marvin.informatik.uni-dortmund.de) Home-Page: http://studserver.uni-dortmund.de/~su0056