Since input capabilities of cellphones are poor, interactive shells support a simplified syntax for function calls, and automatic output of computed expressions:
|
m>0.85*23.10 → 19.635
m>use math as mm>m.sin(m.pi/4) → 0.7071067812
|
|
m>date // maps to date() → 2005-02-07 11:03:07
m>dir c:\*.m/r // maps to dir('c:\\*.m', true)→ C:\system\apps\mShell\autoexec.m
C:\documents\mShell\Jukebox.m |
Simple function calls can only be used to call functions with parameters which are string or number literals.
|