OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 
Skip Navigation Links
All BooksExpand All Books
Quick HelpExpand Quick Help
ProgrammingExpand Programming

4.19 FAQ-378 How to declare a variable for missing value?

Last Update: 2/3/2015

You could declare a variable with expression 0/0 to define it as a missing value. For example:

misval = 0/0;
misval =;//Should return --

In addition, in LabTalk, a missing value is evaluated as False. For example:

misval = 0/0;
type $(misval?1:0);//Should return 0 (False)



Keywords:missing value, declare, variable, false

 

© OriginLab Corporation. All rights reserved.