IonicWind Software

IWBasic => IWB3.x Bug Reports => Resolved Issues => Topic started by: Logman on August 20, 2015, 05:22:14 AM

Title: SYSTEM Command in User's Guide
Post by: Logman on August 20, 2015, 05:22:14 AM
Click on the HELP menu and then select IWBasic User's Guide.

In the User's Guide go to SEARCH and enter "SYSTEM".

Find "SYSTEM" in the Select Topic window. It will bring up the SYSTEM Topic as follows:

====================================
Syntax
SYSTEM(command as STRING, OPT param as STRING)

Description
Runs another executable.

Parameters
command - Executable to run.
param - Parameter for executable.

Return value
None

Remarks
Command must be full pathname to executable or the executable needs to be in the system path.

Example usage
.SYSTEM "notepad.exe" , "c:\\mydocs\\prog.txt"
====================================

PROBLEM - The IWBSTD.INCC lists the SYSTEM command as follows:

$command SYSTEM(command as STRING, OPT param as STRING)

There is no period in front of the SYSTEM command.

EASY FIX: Remove the period from in front of the word SYSTEM in the User's Guide example.

I have used the SYSTEM command and it does not work with a period in front of the command as the example would suggest.

Logman
Title: Re: SYSTEM Command in User's Guide
Post by: LarryMc on August 20, 2015, 10:59:35 AM
typo will be fixed in next update

thanks