13.07.2015 Views

Turbo Basic

Turbo Basic

Turbo Basic

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ENVIRON$ functionFunctionSyntaxRemarksExampleENVIRON$ retrieves environment table parameters.s$ = ENVIRON$(parameter string)s$ = ENVIRON$ (n)parameter string is a string expression containing the parameter tobe retrieved. n is an integer expression inthe range 1 to 255.ENVIRON$ and the related statement ENVIRON are used toconfigure the environment to be passed to programs executed viathe SHELL statement. (For more information, seethe SHELLstatement in this manual and the SET command in the DOS referencemanual.)If a string argument is used, ENVIRON$ returns the text thatfollows parameter string in the environment table. Note that ENVI­RON$ distinguishes between uppercase and lowercase letters. Ifparameter string is not .found or no text follows the equal sign, thenull string is returned.If the numeric form is used, ENVIRON$ returns a string containingthe nth parameter from the start of the table. If there is nonth parameter, a null string is returned.See the example in the ENVIRON entry.<strong>Turbo</strong> <strong>Basic</strong> Reference Directory 195

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!