11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4<br />

Parameters<br />

1.3 Parameters<br />

Parameters can be either constants, variables, or expressions and can represent one of<br />

several types:<br />

Type Description Example(s)<br />

Integer whole number 10 or -4<br />

Real decimal number that is a whole number and a<br />

decimal point, with an optional decimal fraction.<br />

Complex a pair of real numbers representing the real and<br />

imaginary parts of a complex quantity<br />

Also, the real and complex types are either single or double precision. The following<br />

table indicates the storage units required as a function of data type. One storage unit<br />

is the basic word size on a computer. Typically, a word is 32 bits long on a short-word<br />

computer and 64 bits on a long-word computer.<br />

The type of a parameter must be declared in at least one of three ways:<br />

27000. or 2.7E5 or<br />

2.7D5<br />

(1.1,2.3) or<br />

(1.D0,3.5D1)<br />

Logical represents either TRUE or FALSE TRUE or FALSE<br />

Character a string of 1 to 80 characters 'GEORGE'<br />

Type<br />

No. of<br />

words<br />

Integer 1<br />

Real single precision 1<br />

Real double precision 2<br />

Complex single precision 2<br />

Complex double precision 4<br />

Logical 1<br />

Character 1 to 20<br />

Constant Inherent in its specification or construction<br />

Explicit On a TYPE statement for variable parameters<br />

Implicit In a module’s parameter list for variable<br />

parameters

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

Saved successfully!

Ooh no, something went wrong!