Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 4 Expressions > 4.12 Expression Operator / Function Reference

4.12.15 Misc functions

Scroll Prev Top Next More

NULL:  

This is not so much a function as a constant with no value.  This can be used to clear out a variable, but is really designed for use with external DLL calls to pass NULL values.

X = NULL

Note that you cannot do a comparison to NULL.  Use the IsEmpty() function instead.  

RGB(Red, Green, Blue):  

This function creates a singular RGB color number out of the three color components.  The three components each can range from 0 to 255.  

Examples:

RGB(0,0,0) is black

RGB(255,255,255) is white

RGB(255,0,0) is red

RGB(0,255,0) is green.

To provide the user with a color selection dialog, see System.ColorSelectDialog()