Platform$
Jump to navigation
Jump to search
Description
- This variable holds the operating system specifier
Syntax
- PRINT Platform$
Hints
- This variable is case sensitive, so platform$ or PLATFORM$ are not the same as Platform$.
- Platform$ is a string variable because of the trailing dollar sign ($), so you can use string manipulation on it.
Possible Platform Strings Operating System Just BASIC Liberty BASIC 4 Liberty BASIC 5 Run BASIC Windows Windows Windows win32 win32 Linux not applicable not applicable unix unix MAC not applicable not applicable unix ???
Example
Print Platform$ For x = 1 to Len(Platform$) Print Left$(Platform$, x) Next
Useful Procedures
' Place a useful function or sub using this keyword here