Denso RC5 Specifications Page 223

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 222
Chapter 9 Declaration Statements
9-9
DEFSNG (Statement)
Function
Declares a single precision real type variable. The range of single precision
real variables is from -3.402823E+38 to 3.402823E+38.
Format
DEFSNG <Variable name>[=<Constant>][,<Variable name>[=<Constant>]...]
Explanation
This statement declares a variable designated by <Variable name> as a single
precision real type variable. By writing a constant after <Variable name>,
initialization can be done simultaneously with the declaration.
Multiple variable names can be declared at a time by separating them with a
comma “,”.
Related Terms
DEFDBL, DEFINT, DEFSTR
Example
DEFSNG lfx, lfy, lfz 'Declares lfx, lfy, and lfz as single precision real type
'variables.
DEFSNG lfx = 1.0 'Declares lfx as a single precision real type variables and
'sets the initial value to 1.0.
Page view 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 691 692

Comments to this Manuals

No comments