[MAIN] [News] [Intro] [Features] [Download] [Installation] [Support] [Support+] [Docu] [Tutorial] [Bugs] [forum ] [wiki] [Mirror] [Authors] [Future] [License] [Win98 Setup Bug] [Subscribe] |
Bug DescriptionBASIC programs compiled to executable via the C format do not handle the command line arguments.Bug Reason, What Causes the BugThe main() code of the variation that handles the standalone version BASIC program does not handle the command lines. This piece of code is missing.SolutionThe next release will deliver a corrected version. The modification to the file variations/standalone/libscriba.c needed:102c102 < #define FULL_PATH_BUFFER_LENGTH 256 --- > #define FULL_PATH_BUFFER_LENGTH 1024 104a105,111 > int i; > > CmdLinBuffer[0] = (char)0; > for( i=1 ; i < argc ; i++ ){ > strcat(CmdLinBuffer,argv[i]); > if( i < argc-1 )strcat(CmdLinBuffer," "); > } Bug Workaround Until Solution is AvailableThose, who wish to use this feature may have some experience in compiling C programs, and can try to recompile the libscriba.lib or libscriba.a file with the modified source.AcknowledgementPeter van Eerten [peter.van.eerten@home.nl] recognized this error. |