11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

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

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

264 webMathematica User GuideMSPValueMSPValue@varDreturns the value of var; it returns a null string if var has no valueMSPValue@var, def Dreturns the value of var; it returns def if var has no valueMORE INFORMATION† MSPValue is a utility function that is useful for extracting the value of variables.† The following exceptions can be thrown by MSPValue.MSPException@" ValueError "DMSPException@" VariableError "Dif the value is not a string, this indicates a programmatic errorby the page authorif the variable is not a Mathematica symbol, this indicates aprogrammatic error by the page authorEXAMPLESBasic Examples (1)You can simulate how the functions work by loading the package.The value of the variable $$expr is returned.In[1]:= $$expr = 56; MSPValue@ $$exprDOut[1]= 56If $$expr has no value, then a null string is returned.In[2]:=Clear@$$exprD; MSPValue@ $$exprDOut[2]=

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

Saved successfully!

Ooh no, something went wrong!