Example: Hungarian Notation for Variable Names

These variable names use Hungarian notation:

Variable

Description

JCHAR

cPaymentRecieved;

JCHAR [ ]

szCompanyNumber = _J(00000);

short

nLoopCounter;

long int

lTaxConstant;

BOOL

bIsDateValid;

MATH_NUMERIC

mnAddressNumber;

JDEDATE

jdGLDate;

LPMATH_NUMERIC

lpAddressNumber;

int

iCounter;

byte

byOffsetValue;

unsigned long

ulFunctionStatus;

D0500575A

dsInputParameters;

JDEDB_RESULT

idJDEDBResult;