Development Topics > BASIC Extensions

d/BASIC Extensions

The /D switch extends the compiler support to include certain statements which are otherwise only available under the d/BASIC compiler (offered by d/Soft). Note that these comprise only a subset of the language extensions that d/BASIC supports. They were chosen for inclusion within A-Shell purely on the basis of user demand.

RTRIM(var)

Strips the trailing blanks from the specified string variable

AUTOCAP(var)

“Intelligently” capitalizes the specified string. Note that the A-Shell implementation of this is rather minimal; users in need of more “intelligent” capitalization should refer to XFOLD.SBR.

WHEN /WEND

WHEN <condition>
      statements
WEND

Note that “WHEN” is treated as interchangeable with the BASIC Plus “IF” and “WEND” as interchangeable with “ENDIF”.

"Dot" Variables

All of the "Dot" variables originally from d/BASIC are now considered A-Shell Extensions, and are supported by the /X:2 compiler statement. See the table of Dot Variable in the previous section on A-Shell Extensions.

 

Doc In Progress