StartTest
hi young lady, how may I help you
well yeah, I am looking for a father's day gift
ok how about getting your father a new walet
how much is that walet
which one
the black one
oh it is only 40.95
that is too expensive for me. do you have a cheaper one?
how about this brown other one
I don't think my father will like the design on the other side and it doesn't have
a place to put pictures
how much is it any way
it's 25.99
en, I don't have that much money
ok how much money do you have to spend
I am not sure, probably about 10 dollars or so
I have been helping my mom around the house for the past week to earn some money
this is all I have
hmm, how about this tie
that is really pretty but the price tax says 13.99 and I know I don't have that much money
well let's just say the tie went on sales
how about five dollars? what do you say
Constant Definitions
See Also
This example contains definitions for all NPL basic data types. It is included to enable compiling the examples. Sparser lists the files required for compilation.
Copy Code
// File name: constant.npl
// Byte order constants
const LittleEndian = 0;
const BigEndian = 1;
// Bool Constants
const TRUE = 1;
const FALSE = 0;
// Address Constants
const Broadcast = 0xFFFFFFFFFFFF;
// Protocol Class for parser errors
const ParserErrorProtocolClassPublic = 1;
const ParserErrorProtocolClassWindows = 2;
const ParserErrorProtocolClassMsOffice = 3;
// Conversation Status Constants
const UnknownState = 0;
const HalfConnected = 1;
const Connected = 2;
const FinWait1 = 3;
const FinWait2 = 5;
const Disconnected = 4;
// Conversation Timeout Constants
const EnableConversationTimeout = TRUE;
const DefaultConversationTimeout = 180;
const IPv4ConversationTimeout = 180;
const TCPConversationTimeout = 180;
const UDPConversationTimeout = 180;
// Add to property flags
const ADD_TO_PROPERTY_FLAG_NO_DUPLICATES = 0x00000004;
const ADD_TO_PROPERTY_FLAG_NO_ZERO = 0x00000008;
See Also
Other Resources
NPL Examples
--------------------------------------------------------------------------------
oh thanks I will take it
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment