Access the commands from the Units package while staying in the default Units environment - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : CommandsOnly : Units/CommandsOnly

Access the commands from the Units package while staying in the default Units environment

 

Description

Examples

Compatibility

Description

• 

Loading a package, using the with command, makes the short form of its commands available. Loading the Units package additionally loads one of its three subpackages, corresponding to the currently selected mode (by default the Units[Simple] subpackage). This enables one of the three units environments - the simple, standard, or natural units environment. If you want to access the short form of the commands in the Units package, but stay in the default units environment rather than the simple, standard, or natural units environments, then you can load the Units[CommandsOnly] package.

Examples

Without loading any package, you can use the long form of Units package commands.

UnitsGetUnitsdimension=length

ångströmstandard,arpentPQ_length,astronomical_unitstandard,barleycornUS_survey,barleycornstandard,bicronstandard,bohrAtomic,cableUK_nautical,cableUS_nautical,calibrestandard,chainGunter,chainGunter_US_survey,chainRamsden,chainRamsden_US_survey,chainUK_nautical,cubitSacred,cubitTalmudic,cubitUS_survey,cubitstandard,digitUS_survey,digitstandard,ellUS_survey,ellstandard,fathomUS_survey,fathomstandard,fermistandard,fingerUS_survey,fingerstandard,footPQ,footUS_survey,footstandard,furlongUS_survey,furlongstandard,handUS_survey,handstandard,handbreadthSacred,handbreadthTalmudic,hubbleJulian,hubbletropical,inchUS_survey,inchstandard,leagueUS_survey,leaguenautical,leaguestandard,light_yearJulian,light_yeartropical,lineUS_survey,linestandard,linkGunter,linkGunter_US_survey,linkRamsden,linkRamsden_US_survey,marathonstandard,meterSI,microinchstandard,micronstandard,milUS_survey,milstandard,mileUS_survey,milenautical,milestandard,nailUS_survey,nailstandard,nautical_mileSI,paceUS_survey,pacestandard,palmUS_survey,palmstandard,parsecstandard,perchPQ_length,perchUS_survey,perchstandard,picaTeX,picacomputer,picaprinter,planck_lengthplanck,pointTeX,pointcomputer,pointprinter,poleUS_survey,polestandard,quadrantelectrical,quadrantstandard,rodUS_survey,rodstandard,spanSacred,spanTalmudic,spanUS_survey,spanstandard,spatstandard,stepUS_survey,stepstandard,x_unitcopper,x_unitmolybdenum,yardUS_survey,yardstandard

(1)

If you want to use the short form, you can load the Units package. This enables the Simple units environment by default.

withUnits:

Automatically loading the Units[Simple] subpackage

GetUnitsdimension=length

ångströmstandard,arpentPQ_length,astronomical_unitstandard,barleycornUS_survey,barleycornstandard,bicronstandard,bohrAtomic,cableUK_nautical,cableUS_nautical,calibrestandard,chainGunter,chainGunter_US_survey,chainRamsden,chainRamsden_US_survey,chainUK_nautical,cubitSacred,cubitTalmudic,cubitUS_survey,cubitstandard,digitUS_survey,digitstandard,ellUS_survey,ellstandard,fathomUS_survey,fathomstandard,fermistandard,fingerUS_survey,fingerstandard,footPQ,footUS_survey,footstandard,furlongUS_survey,furlongstandard,handUS_survey,handstandard,handbreadthSacred,handbreadthTalmudic,hubbleJulian,hubbletropical,inchUS_survey,inchstandard,leagueUS_survey,leaguenautical,leaguestandard,light_yearJulian,light_yeartropical,lineUS_survey,linestandard,linkGunter,linkGunter_US_survey,linkRamsden,linkRamsden_US_survey,marathonstandard,meterSI,microinchstandard,micronstandard,milUS_survey,milstandard,mileUS_survey,milenautical,milestandard,nailUS_survey,nailstandard,nautical_mileSI,paceUS_survey,pacestandard,palmUS_survey,palmstandard,parsecstandard,perchPQ_length,perchUS_survey,perchstandard,picaTeX,picacomputer,picaprinter,planck_lengthplanck,pointTeX,pointcomputer,pointprinter,poleUS_survey,polestandard,quadrantelectrical,quadrantstandard,rodUS_survey,rodstandard,spanSacred,spanTalmudic,spanUS_survey,spanstandard,spatstandard,stepUS_survey,stepstandard,x_unitcopper,x_unitmolybdenum,yardUS_survey,yardstandard

(2)

2m+5ft

881250m

(3)

If you want to use the short form of the Units package commands, but stay in the default units environment, you can load the Units[CommandsOnly] package.

restart

withUnitsCommandsOnly:

Automatically loading the Units package

GetUnitsdimension=length

ångströmstandard,arpentPQ_length,astronomical_unitstandard,barleycornUS_survey,barleycornstandard,bicronstandard,bohrAtomic,cableUK_nautical,cableUS_nautical,calibrestandard,chainGunter,chainGunter_US_survey,chainRamsden,chainRamsden_US_survey,chainUK_nautical,cubitSacred,cubitTalmudic,cubitUS_survey,cubitstandard,digitUS_survey,digitstandard,ellUS_survey,ellstandard,fathomUS_survey,fathomstandard,fermistandard,fingerUS_survey,fingerstandard,footPQ,footUS_survey,footstandard,furlongUS_survey,furlongstandard,handUS_survey,handstandard,handbreadthSacred,handbreadthTalmudic,hubbleJulian,hubbletropical,inchUS_survey,inchstandard,leagueUS_survey,leaguenautical,leaguestandard,light_yearJulian,light_yeartropical,lineUS_survey,linestandard,linkGunter,linkGunter_US_survey,linkRamsden,linkRamsden_US_survey,marathonstandard,meterSI,microinchstandard,micronstandard,milUS_survey,milstandard,mileUS_survey,milenautical,milestandard,nailUS_survey,nailstandard,nautical_mileSI,paceUS_survey,pacestandard,palmUS_survey,palmstandard,parsecstandard,perchPQ_length,perchUS_survey,perchstandard,picaTeX,picacomputer,picaprinter,planck_lengthplanck,pointTeX,pointcomputer,pointprinter,poleUS_survey,polestandard,quadrantelectrical,quadrantstandard,rodUS_survey,rodstandard,spanSacred,spanTalmudic,spanUS_survey,spanstandard,spatstandard,stepUS_survey,stepstandard,x_unitcopper,x_unitmolybdenum,yardUS_survey,yardstandard

(4)

2m+5ft

2m+5ft

(5)

Compatibility

• 

The Units[CommandsOnly] subpackage was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.