
#
# This is an Example Menu
#
#

[DataArea]
AreaName        = "LastCallers"     # Name of Data Area
FileName        = "lastcallers"     # Data Output Filename (excluding ext.) ie.. oneliners.dat
AnsiFile        = "lastcallers"     # Ansi File Name,      (excluding ext.) ie.. oneliners.ans {Location will be ANSI Directory}
AnsiMid         = "lastcallers"     # Ansi Mid File for Holding MCI Codes (excluding ext.) ie.. oneliners.mid
NumOfRecs       = "10"              # Max # of Records to Keep in Datafile for parsing in ansi, 0 = Unlimited.
PageBreak       = "0"               # For Multiple Pages, Will PageBreak after this many records, 0 = disabled.

# This is how many input commands run in order, sorta like a Menu System.
# You can also Stack Commands to run in order.

{ Option / Required at Least 1 Input to Create a Record}
# Pass through MCI Code of Users Name as First Record
[DataRec000]                                                 # Command Record #
Desc[000]       = "Get Caller #"                             # Description
Prompt[000]     = ""                                         # Text Prompt To Display on Input Commands.
Size[000]       = ""                                         # Max Number of Chars on Input
CKeys[000]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[000]    = "IN"					     # Command Type
MString[000]    = "%HC"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[000]    = "&C#"                                      # MCI Code For Ansi Output of This Field
HiString[000]   = ""                                         # LightBar High String
LoString[000]   = ""                                         # LightBar Low String
Xcoord[000]     = ""                                         # X Coord of Lightbar
Ycoord[000]     = ""                                         # Y Coord of Lightbar
LBarCmd[000]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[000]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec001]                                                 # Command Record #
Desc[001]       = "Get Users Name"                           # Description
Prompt[001]     = ""                                         # Text Prompt To Display on Input Commands.
Size[001]       = ""                                         # Max Number of Chars on Input
CKeys[001]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[001]    = "IN"					     # Command Type
MString[001]    = "%UH"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[001]    = "&CN"                                      # MCI Code For Ansi Output of This Field
HiString[001]   = ""                                         # LightBar High String
LoString[001]   = ""                                         # LightBar Low String
Xcoord[001]     = ""                                         # X Coord of Lightbar
Ycoord[001]     = ""                                         # Y Coord of Lightbar
LBarCmd[001]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[001]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec002]                                                 # Command Record #
Desc[002]       = "Users Gender"                             # Description
Prompt[002]     = ""                                         # Text Prompt To Display on Input Commands.
Size[002]       = ""                                         # Max Number of Chars on Input
CKeys[002]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[002]    = "IN"					     # Command Type
MString[002]    = "%UG"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[002]    = "&CG"                                      # MCI Code For Ansi Output of This Field
HiString[002]   = ""                                         # LightBar High String
LoString[002]   = ""                                         # LightBar Low String
Xcoord[002]     = ""                                         # X Coord of Lightbar
Ycoord[002]     = ""                                         # Y Coord of Lightbar
LBarCmd[002]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[002]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec003]                                                 # Command Record #
Desc[003]       = "Users Age"                                # Description
Prompt[003]     = ""                                         # Text Prompt To Display on Input Commands.
Size[003]       = ""                                         # Max Number of Chars on Input
CKeys[003]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[003]    = "IN"					     # Command Type
MString[003]    = "%UX"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[003]    = "&UA"                                      # MCI Code For Ansi Output of This Field
HiString[003]   = ""                                         # LightBar High String
LoString[003]   = ""                                         # LightBar Low String
Xcoord[003]     = ""                                         # X Coord of Lightbar
Ycoord[003]     = ""                                         # Y Coord of Lightbar
LBarCmd[003]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[003]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec004]                                                 # Command Record #
Desc[004]       = "User Note"                                # Description
Prompt[004]     = ""                                         # Text Prompt To Display on Input Commands.
Size[004]       = ""                                         # Max Number of Chars on Input
CKeys[004]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[004]    = "IN"					     # Command Type
MString[004]    = "%UO"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[004]    = "&UN"                                      # MCI Code For Ansi Output of This Field
HiString[004]   = ""                                         # LightBar High String
LoString[004]   = ""                                         # LightBar Low String
Xcoord[004]     = ""                                         # X Coord of Lightbar
Ycoord[004]     = ""                                         # Y Coord of Lightbar
LBarCmd[004]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[004]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec005]                                                 # Command Record #
Desc[005]       = "Date"                                     # Description
Prompt[005]     = ""                                         # Text Prompt To Display on Input Commands.
Size[005]       = ""                             temp += getc(inStream);            # Max Number of Chars on Input
CKeys[005]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[005]    = "IN"					     # Command Type
MString[005]    = "%D3"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[005]    = "&D3"                                      # MCI Code For Ansi Output of This Field
HiString[005]   = ""                                         # LightBar High String
LoString[005]   = ""                                         # LightBar Low String
Xcoord[005]     = ""                                         # X Coord of Lightbar
Ycoord[005]     = ""                                         # Y Coord of Lightbar
LBarCmd[005]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[005]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

[DataRec006]                                                 # Command Record #
Desc[006]       = "Time"                                     # Description
Prompt[006]     = ""                                         # Text Prompt To Display on Input Commands.
Size[006]       = ""                                         # Max Number of Chars on Input
CKeys[006]      = "FIRSTCMD"                                 # Accepted Input Keys
CmdType[006]    = "IN"					     # Command Type
MString[006]    = "%D4"                                      # Data to be Written Default for This Field {UserHandle MCI Code Pass}
MciCode[006]    = "&D4"                                      # MCI Code For Ansi Output of This Field
HiString[006]   = ""                                         # LightBar High String
LoString[006]   = ""                                         # LightBar Low String
Xcoord[006]     = ""                                         # X Coord of Lightbar
Ycoord[006]     = ""                                         # Y Coord of Lightbar
LBarCmd[006]    = "FALSE"                                    # Is This a Lightbar Command?
MCICmd[006]     = "TRUE"                                     # Is This a MCI Code, Skip Input, and Pass MCI Code in MString.

# {Required - 1 Save Data Comamnd}
# This is the Command to Confirm and Save All Input, used / stacked after last input command.
[DataRec007]
Desc[007]       = "Save Input Passed MCI Codes Without Prompting for Save!"
Prompt[007]     = ""
Size[007]       = ""
CKeys[007]      = "FIRSTCMD"
CmdType[007]    = "OS"
MString[007]    = ""
MciCode[007]    = ""
HiString[007]   = ""
LoString[007]   = ""
Xcoord[007]     = ""
Ycoord[007]     = ""
LBarCmd[007]    = "FALSE"
MCICmd[007]     = "FALSE"

# {Required - 1 Process Command}
# This Process the Data Areas Records, And Parses and Creates the oneliner.ans
# processes the area after every save, so the ansi file is up to date when displayed.
# Only runs when a save is confirmed above!
#
# {Using DF - for For Processing of Ansi Without a Save, For use when passing MCI Codes to build a Screen.}
[DataRec008]
Desc[008]       = "Process Data Area"
Prompt[008]     = ""
Size[008]       = ""
CKeys[008]      = "FIRSTCMD"
CmdType[008]    = "DF"
MString[008]    = ""
MciCode[008]    = ""
HiString[008]   = ""
LoString[008]   = ""
Xcoord[008]     = ""
Ycoord[008]     = ""
LBarCmd[008]    = "FALSE"
MCICmd[008]     = "FALSE"

# {Required - 1 Exit Comamnd / Also Used as a Pause Prompt.}
# Lightbar: Quit DataArea
[DataRec009]
Desc[009]       = "Quit"
Prompt[009]     = ""
Size[009]       = ""
CKeys[009]      = "FIRSTCMD"
CmdType[009]    = "*G"
MString[009]    = ""
MciCode[009]    = ""
HiString[009]   = "|XY2479"
LoString[009]   = ""
Xcoord[009]     = "1"
Ycoord[009]     = "24"
LBarCmd[009]    = "FALSE"
MCICmd[009]     = "FALSE"
