home *** CD-ROM | disk | FTP | other *** search
INI File | 1993-05-26 | 27.0 KB | 1,839 lines |
- [ver]
- 4
- [sty]
-
- [edoc]
- ' Defines
-
- 'Declares
-
- Declare PackGlobals(FieldNameArray,FldSep,RecSep)
-
- Declare UpdateDisplay(Hdlg,id,Dummy)
-
- Declare MainCall(Hdlg,id,dummy)
-
- Declare StuffInfo(Hdlg)
-
- Declare WriteOut()
-
- Declare FreeGlobals()
-
- Declare GetFieldData(Hdlg)
-
- Declare SortEm()
-
- Declare CollectHeader(Fieldname,fldSep,RecSep)
-
- Declare GotoMain(Hdlg)
-
- Declare Finditem(p1,p2)
-
- Declare WriteFields(p1)
-
- Declare DefineFields()
-
- Declare MoveFirst()
-
- Declare CreateOptionsBox()
-
- Declare ReadFive(Hdlg)
-
- Declare ReloadNames(Hdlg)
-
- Function Main()
-
- IgnoreKeyBoard(2)
-
- DefStr FldSep,RecSep,Stat;
-
- Dim FieldNames(1)
-
- Again:
-
- If 0=Assign(&Stat,CollectHeader(&FieldNames,&FldSep,&RecSep))
-
- Else
-
- If 1=Assign(&Stat,DefineFields())
-
- FreeGlobals()
-
- Goto Again
-
- Return 0
-
- Else
-
- Exit Function
-
- Endif
-
- Endif
-
- PackGlobals(&FieldNames,FldSep,RecSep)
-
- ProDir=GetAmiDirectory$()
-
- Mac=GetRunningMacroFile$()
-
- Filledit(1000,"{ProDir}GreyBlue.bmt")
-
- 'Filledit(23,"{ProDir}Down.bmp")
-
- 'Filledit(24,"{ProDir}Up.bmp")
-
- 'Filledit(28,"{ProDir}Next.bmp")
-
- 'Filledit(29,"{ProDir}Prev.bmp")
-
- Filledit(82,"")
-
- Filledit(83,"")
-
- Filledit(84,"")
-
- Filledit(85,"")
-
- 'SetDlgCallBack(0,"{Mac}!PreBuild")
-
- SetDlgCallBack(21,"{Mac}!MainCall")
-
- SetDlgCallBack(23,"{Mac}!MainCall")
-
- SetDlgCallBack(24,"{Mac}!MainCall")
-
- SetDlgCallBack(27,"{Mac}!MainCall")
-
- SetDlgCallBack(28,"{Mac}!MainCall")
-
- SetDlgCallBack(29,"{Mac}!MainCall")
-
- SetDlgCallBack(30,"{Mac}!MainCall")
-
- SetDlgCallBack(31,"{Mac}!MainCall")
-
- SetDlgCallBack(32,"{Mac}!MainCall")
-
- SetDlgCallBack(33,"{Mac}!MainCall")
-
- SetDlgCallBack(34,"{Mac}!MainCall")
-
- 'SetDlgCallBack(41,"{Mac}!HitEnter")
-
- 'SetDlgCallBack(82,"{Mac}!HitFolder")
-
- 'SetDlgCallBack(83,"{Mac}!HitFolder")
-
- 'SetDlgCallBack(84,"{Mac}!HitFolder")
-
- 'SetDlgCallBack(85,"{Mac}!HitFolder")
-
- Box=DialogBox(".","Mainbox")
-
- FreeGlobals()
-
- if ("" = GetOpenFileName$())
-
- saveas
-
- endif
-
- fname = GetOpenFileName$()
-
- if ("" != fname)
-
- FileClose()
-
- [UserInterface\Merge].Record = fname;
-
- [UserInterface\Merge].Description = "";
-
- [UserInterface\Merge].Flag = 2;
-
- PostCommand(781)
-
- endif
-
- end Function
-
- Function MainCall(Hdlg,id,dummy)
-
- IgnoreKeyBoard(2)
-
- LastField=GetGlobalArray$("LastField",1)
-
- TotalFields=GetGlobalArray$("TotalFields",1)
-
- Switch id
-
- Case 21 ' Update the current record
-
- 'StuffInfo(Hdlg)
-
- 'If GetGlobalArray$("RedoNames",1)=1 ' Updating field names
-
- 'For t=1 to TotalFields
-
- 'SetGlobalArray("FieldNames",T,GetGlobalArray$("EditData",t))
-
- 'Next
-
- 'Endif
-
- 'WriteOut()
-
- ' Type("[Del]")
-
- 'Type("[ShiftCtrlUp]")
-
- 'GetFieldData(Hdlg)
-
- 'UpdateDisplay(hdlg,id,dummy)
-
- Case 23' scroll fields forward
-
- 'StuffInfo(Hdlg)
-
- 'LastField=LastField+9
-
- 'If LastField<;>=TotalFields
-
- 'LastField=LastField - 9
-
- 'Endif
-
- 'SetGlobalArray("RefreshMain",1,1)
-
- 'SetGlobalArray("LastField",1,LastField)
-
- 'UpdateDisplay(hdlg,id,dummy)
-
- Case 24' scroll fields backward
-
- 'StuffInfo(Hdlg)
-
- 'LastField=LastField - 9
-
- 'If LastField <<0
-
- 'LastField=0
-
- 'Endif
-
- 'SetGlobalArray("RefreshMain",1,1)
-
- 'SetGlobalArray("LastField",1,LastField)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- Case 27 ' Sort the records in this database
-
- 'EnableWindow(Hdlg,0)
-
- 'If SortEm()
-
- 'MoveFirst()
-
- 'Getfielddata(hdlg)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- 'Endif
-
- 'EnableWindow(hdlg,1)
-
- 'SetFocus(Hdlg)
-
- 'ReadFive(Hdlg)
-
- Case 28 ' Move Next Record
-
- 'Type("[CtrlDown]")
-
- 'Type ("[CtrlUp]")
-
- 'If AtEof()
-
- 'Type ("[CtrlUp]")
-
- 'Endif
-
- 'Type("[ShiftCtrlDown]")
-
- 'Getfielddata(hdlg)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- 'ReadFive(Hdlg)
-
- Case 29 ' Move Previous Record
-
- 'If Curshade$()=""
-
- 'Type("[CtrlUp]")
-
- 'Else
-
- 'Type("[CtrlUp][CtrlUp]")
-
- 'Endif
-
- 'Type("[ShiftCtrlDown]")
-
- 'Getfielddata(hdlg)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- 'ReadFive(Hdlg)
-
- Case 30 ' Goto Location
-
- 'EnableWindow(Hdlg,0)
-
- 'GotoMain(Hdlg)
-
- 'EnableWindow(hdlg,1)
-
- 'SetFocus(Hdlg)
-
- 'ReadFive(Hdlg)
-
- Case 31 ' Add button pressed
-
- type("[ctrlend]")
-
- fldsep = GetGlobalVar$("FieldSep")
-
- recsep = GetGlobalVar$("RecSep")
-
- max = GetGlobalVar$("TotalFields")
-
- for i = 1 to max
-
- type(GetDlgItemText(hdlg, 8000 + i))
-
- type("{fldsep}")
-
- next
-
- type("[backspace]{recsep}[enter]")
-
- 'StuffInfo(Hdlg)
-
- 'Type("[Esc]")
-
- ' Type("[CtrlDown][CtrlRight]")
-
- 'WriteOut()
-
- 'Type("[CtrlUp]")
-
- 'LastField=0
-
- 'SetGlobalArray("LastField",1,LastField) ' set lastfield to 0
-
- 'SetGlobalArray("RefreshMain",1,1) 'force a repaint of the box
-
- 'SetFocus(Hdlg)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- 'ReadFive(Hdlg)
-
- Case 32 ' Delete this record
-
- 'If Curshade$() !=""
-
- 'Type("[Del]")
-
- 'If AtEof()
-
- 'Type ("[CtrlUp]")
-
- 'Endif
-
- 'Type("[ShiftCtrlDown]")
-
- 'Getfielddata(hdlg)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- 'ReadFive(Hdlg)
-
- 'Endif
-
- Case 33 ' New Card button pressed
-
- 'Type("[Esc]")
-
- 'For t=1 to TotalFields
-
- 'SetGlobalArray("EditData",t,"")
-
- 'Next
-
- 'LastField=0
-
- 'SetGlobalArray("LastField",1,LastField)
-
- 'UpdateDisplay(Hdlg,id,dummy)
-
- Case 34 ' Help Button Hit
-
- 'Message("Help almost available")
-
- EndSwitch
-
- 'SetDefId(41) 'set the default id to the return key
-
- End Function
-
- Function CollectHeader(FieldNames,FldSep,RecSep)
-
- DefStr Stat;
-
- Dim TempHead(1)
-
- Type ("[CtrlHome]")
-
- Type ("[Home][ShiftEnd]")
-
- Char=Curshade$()
-
- If Len(char)<<<;>2
-
- ' Not a records File
-
- Return -1 ' fail
-
- Exit Function
-
- Endif
-
- Sep=Mid$(Char,1,1)
-
- Rec=Mid$(Char,2,1)
-
- Type ("[Home][Down][ShiftCtrlDown]")
-
- Char=Curshade$()
-
- x=1
-
- While -1!=Assign(&Stat,StrField$(Char,x,Sep))
-
- If 0!=Instr(0,Stat,Rec)
-
- Stat=StrField$(Stat,1,Rec)
-
- ArrayInsert(&FieldNames,x,Stat)
-
- Break
-
- Endif
-
- ArrayInsert(&FieldNames,x,Stat)
-
- x=x+1
-
- Wend
-
- *FldSep=Sep;
-
- *RecSep=Rec;
-
- End Function
-
- Function DefineFields()
-
- Mac=GetRunningMacroFile$()
-
- Prodir=GetAmiDirectory$()
-
- AllocGlobalVar("DefineField",1)
-
- AllocGlobalVar("DefineRec",1)
-
- AllocGlobalVar("BoxReturn",1)
-
- SetGlobalArray("BoxReturn",1,0)
-
- SetGlobalArray("DefineField",1,"~")
-
- SetGlobalArray("DefineRec",1,"|")
-
- Filledit(23,"{ProDir}Up.bmp")
-
- Filledit(24,"{ProDir}Downbig.bmp")
-
- SetDlgCallBack(20,"{Mac}!MakeCall")
-
- SetDlgCallBack(21,"{Mac}!MakeCall")
-
- SetDlgCallBack(22,"{Mac}!MakeCall")
-
- SetDlgCallBack(23,"{Mac}!MakeCall")
-
- SetDlgCallBack(24,"{Mac}!MakeCall")
-
- SetDlgCallBack(30,"{Mac}!MakeCall")
-
- Box=DialogBox(".","MakeFields")
-
- BoxStat=GetGlobalArray$("BoxReturn",1)
-
- Return BoxStat ' if done was hit, boxreturn = 1
-
- End Function
-
- Function MakeCall(Hdlg,id,dummy)
-
- DefStr Total;
-
- IgnoreKeyBoard(2)
-
- EditBoxText=GetDlgItemText(Hdlg,8001)
-
- ListBoxText=GetDlgItemText(Hdlg,9000)
-
- FldSep=GetGlobalArray$("DefineField",1)
-
- RecSep=GetGlobalArray$("DefineRec",1)
-
- Switch Id
-
- Case 21 ' Add
-
- If EditBoxText !=""
-
- If 0 =Instr(0,EditBoxText,FldSep) And 0 =Instr(0,EditBoxText,RecSep)
-
- SetDlgItemText(Hdlg,9000,EditBoxText)
-
- idx = DlgGetListBoxCount(hdlg, 9000) - 1
-
- DlgSetListBoxIndex(hdlg, 9000, idx);
-
- SetDlgItemText(Hdlg, 8001, "")
-
- Else
-
- Message("You cannot use either {FldSep} or {RecSep} in a field name")
-
- Endif
-
- Endif
-
- Case 22 ' Remove
-
- idx = DlgGetListBoxIndex(hdlg, 9000)
-
- DlgListBoxDeleteItem(hdlg, 9000, idx)
-
- SetDlgItemText(Hdlg,8001,"")
-
- Case 23 ' Up
-
- idx = DlgGetListBoxIndex(hdlg, 9000)
-
- if (idx <;> 0)
-
- stuff = DlgGetListBoxLine$(hdlg, 9000, idx)
-
- DlgListBoxDeleteItem(hdlg, 9000, idx)
-
- idx = idx - 1
-
- DlgListBoxInsertItem(hdlg, 9000, idx, stuff)
-
- DlgSetListBoxIndex(hdlg, 9000, idx)
-
- endif
-
- Case 24 'Down
-
- idx = DlgGetListBoxIndex(hdlg, 9000)
-
- max = DlgGetListBoxCount(hdlg, 9000)
-
- if ((idx + 1) << max)
-
- stuff = DlgGetListBoxLine$(hdlg, 9000, idx)
-
- DlgListBoxDeleteItem(hdlg, 9000, idx)
-
- idx = idx + 1
-
- DlgListBoxInsertItem(hdlg, 9000, idx, stuff)
-
- DlgSetListBoxIndex(hdlg, 9000, idx)
-
- endif
-
- Case 30 ' Options Box
-
- 'EnableWindow(Hdlg,0)
-
- 'Mac=GetRunningMacroFile$()
-
- 'SetDlgCallBack(0,"{Mac}!PreCreateOptions")
-
- 'CreateOptionsBox()
-
- 'EnableWindow(Hdlg,1)
-
- 'SetFocus(Hdlg)
-
- Case 20 ' Ok
-
- If 0 != Assign(&Total,DlgGetListBoxCount(Hdlg, 9000))
-
- SetGlobalArray("BoxReturn",1,1)
-
- Dim TempNames(Total)
-
- ItemName=""
-
- For T = 0 to (Total - 1)
-
- ItemName = DlgGetListBoxLine$(hdlg, 9000, T)
-
- TempNames(T+1)=ItemName
-
- Next
-
- WriteFields(&TempNames)
-
- DlgClose(hdlg);
-
- Endif
-
- EndSwitch
-
- end function
-
- Function WriteFields(TempName)
-
- Size=ArraySize(&TempName)
-
- RecSep=GetGlobalArray$("DefineRec",1)
-
- FldSep=GetGlobalArray$("DefineField",1)
-
- Type ("[CtrlHome]")
-
- Type ("{FldSep}{RecSep}[Enter]")
-
- For t=1 to Size
-
- Item=*TempName(T)
-
- Type("{Item}")
-
- Type("{FldSep}")
-
- Next
-
- Type("[BackSpace]")
-
- Type("{RecSep}")
-
- Type("[Enter]")
-
- End Function
-
- Function PackGlobals(FieldNames,FldSep,RecSep)
-
- TotalFields=ArraySize(&FieldNames)
-
- AllocGlobalVar("TotalFields",1)
-
- AllocGlobalVar("FieldNames",TotalFields)
-
- AllocGlobalVar("LastField",1)
-
- AllocGlobalVar("EditData",TotalFields)
-
- AllocGlobalVar("FieldSep",1) ' Field Sep
-
- AllocGlobalVar("RecSep",1) ' record sep.
-
- AllocGlobalVar("KeyField",1) ' Field to sort on
-
- AllocGlobalVar("EditTarget",1)
-
- AllocGlobalVar("RedoNames",1)
-
- AllocGlobalVar("RefreshMain",1) ' should the main screen be repainted 1 yes
-
- AllocGlobalVar("RefreshButton",1) ' are buttons dirty 1 yes
-
- AllocGlobalVar("LastEditField",1) ' Will hold the id of the last edit field available
-
- SetGlobalArray("RefreshButton",1,1)
-
- SetGlobalArray("RedoNames",1,0)
-
- SetGlobalArray("FieldSep",1,FldSep)
-
- SetGlobalArray("RecSep",1,RecSep)
-
- SetGlobalArray("TotalFields",1,TotalFields)
-
- SetGlobalArray("LastField",1,0)
-
- SetGlobalArray("KeyField",1,1)
-
- SetGlobalArray("RefreshMain",1,1)
-
- SetGlobalArray("LastEditField",1,0)
-
- For t=1 to TotalFields
-
- SetGlobalArray("FieldNames",T,*FieldNames(T))
-
- Next
-
- End Function
-
- Function FreeGlobals()
-
- FreeGlobalVar("TotalFields")
-
- FreeGlobalVar("FieldNames")
-
- FreeGlobalVar("LastField")
-
- FreeGlobalVar("EditData")
-
- FreeGlobalVar("FieldSep")
-
- FreeGlobalVar("RecSep")
-
- FreeGlobalVar("DefineField")
-
- FreeGlobalVar("DefineRec")
-
- FreeGlobalVar("BoxReturn")
-
- FreeGlobalVar("KeyField")
-
- FreeGlobalVar("EditTarget")
-
- FreeGlobalVar("RedoNames")
-
- FreeGlobalVar("RefreshMain")
-
- FreeGlobalVar("RefreshButton")
-
- FreeGlobalVar("LastEditField")
-
- End Function
-
- ' Dialog boxes
-
- DIALOG MainBox
-
- -2134376448 43 22 32 296 194 "" "" "Edit Merge Data File"
-
- FONT 8 "Helv"
-
- 6 6 236 178 1000 1342177290 "static" "filename.bmp" 0
-
- 94 27 130 12 8001 1350762624 "edit" "" 0
-
- 94 41 130 12 8002 1350631552 "edit" "" 0
-
- 94 55 130 12 8003 1350631552 "edit" "" 0
-
- 94 69 130 12 8004 1350631552 "edit" "" 0
-
- 94 83 130 12 8005 1350631552 "edit" "" 0
-
- 94 97 130 12 8006 1350631552 "edit" "" 0
-
- 94 111 130 12 8007 1350631552 "edit" "" 0
-
- 94 125 130 12 8008 1350631552 "edit" "" 0
-
- 94 139 130 12 8009 1350631552 "edit" "" 0
-
- 94 153 130 12 8010 1350762624 "edit" "" 0
-
- 247 17 46 14 31 1342373889 "button" "&Add" 0
-
- 247 33 46 14 32 1342373888 "button" "Dele&te" 0
-
- 247 49 46 14 21 1342373888 "button" "U&pdate" 0
-
- 247 65 46 14 33 1342373888 "button" "&New Record" 0
-
- 247 103 46 14 34 1342373888 "button" "Add Field..." 0
-
- 247 81 46 14 1 1342373888 "button" "Close" 0
-
- 247 119 46 14 27 1342373888 "button" "&Sort..." 0
-
- 247 135 46 14 30 1342373888 "button" "&Go To..." 0
-
- 247 151 21 14 29 1342373888 "button" "<<<<" 0
-
- 272 151 21 14 28 1342373888 "button" "<;><;>" 0
-
- 227 153 12 12 23 1342308352 "button" "<;><;>" 0
-
- 227 27 12 12 24 1342308352 "button" "<<<<" 0
-
- 24 30 64 8 1001 1342177282 "static" "" 0
-
- 28 43 60 8 1002 1342177282 "static" "" 0
-
- 24 57 64 8 1003 1342177282 "static" "" 0
-
- 24 71 64 8 1004 1342177282 "static" "" 0
-
- 24 85 64 8 1005 1342177282 "static" "" 0
-
- 24 99 64 8 1006 1342177282 "static" "" 0
-
- 24 113 64 8 1007 1342177282 "static" "" 0
-
- 24 127 64 8 1008 1342177282 "static" "" 0
-
- 24 141 64 8 1009 1342177282 "static" "" 0
-
- 24 155 64 8 1010 1342177282 "static" "" 0
-
- 98 10 36 8 82 1342177288 "button" "" 0
-
- 104 9 37 8 83 1342177288 "button" "" 0
-
- 151 9 34 8 84 1342177288 "button" "" 0
-
- 198 9 35 8 85 1342177288 "button" "" 0
-
- 11 250 12 7 41 1342177280 "button" "RET" 0
-
- 8 16 86 8 1017 1342177280 "static" "Submit bugs to Peyton." 0
-
- 60 10 36 8 1018 1342177280 "static" "" 0
-
- 104 9 37 8 1019 1342177280 "static" "" 0
-
- 151 9 35 8 1020 1342177280 "static" "" 0
-
- 198 9 35 8 1021 1342177280 "static" "" 0
-
- END DIALOG
-
- DIALOG Sort
-
- -2134376448 10 103 60 152 82 "" "" "Sort Records"
-
- FONT 8 "Helv"
-
- 6 15 86 65 9500 1344339971 "combobox" "" 0
-
- 108 4 40 14 1 1342242817 "button" "OK" 0
-
- 108 20 40 14 2 1342242816 "button" "Cancel" 0
-
- 6 4 52 8 1000 1342177280 "static" "Sort by field:" 0
-
- 6 36 66 40 20 1342242823 "button" "Sort type" 0
-
- 80 36 68 40 21 1342242823 "button" "Sort order" 0
-
- 8 48 54 12 22 1342373897 "button" "&Alphanumeric" 0
-
- 8 60 50 12 23 1342242825 "button" "&Numeric" 0
-
- 84 48 50 10 24 1342373897 "button" "&Ascending" 0
-
- 84 60 54 12 25 1342242825 "button" "&Descending" 0
-
- END DIALOG
-
- DIALOG Goto
-
- -2134376448 8 34 64 251 42 "" "" "Go To"
-
- FONT 8 "Helv"
-
- 129 3 73 12 8000 1350631552 "edit" "" 0
-
- 207 2 40 14 1 1342242817 "button" "Go To" 0
-
- 207 18 40 14 2 1342242816 "button" "Cancel" 0
-
- 4 3 41 10 20 1342242825 "button" "&Field:" 0
-
- 54 3 65 38 9500 1344339971 "combobox" "" 0
-
- 4 14 48 12 21 1342242825 "button" "First record" 0
-
- 4 27 47 10 22 1342242825 "button" "Last record" 0
-
- 121 5 6 8 1000 1342177280 "static" "=" 0
-
- END DIALOG
-
- DIALOG MakeFields
-
- -2134376448 11 71 51 142 105 "" "" "Create Data File"
-
- FONT 8 "Helv"
-
- 6 13 86 12 8001 1350631424 "edit" "" 0
-
- 98 4 40 14 20 1342242816 "button" "OK" 0
-
- 98 20 40 14 2 1342242816 "button" "Cancel" 0
-
- 98 36 40 14 21 1342242817 "button" "&Add" 0
-
- 98 52 40 14 22 1342242816 "button" "&Remove" 0
-
- 98 68 16 14 23 1342242816 "button" "&Up" 0
-
- 122 68 16 14 24 1342242816 "button" "&Dn" 0
-
- 99 87 40 14 30 1342242816 "button" "&Options..." 0
-
- 6 39 86 64 9000 1352728577 "listbox" "" 0
-
- 6 3 68 8 1000 1342177280 "static" "Field Name:" 0
-
- 7 29 59 9 1001 1342177280 "static" "Fields in data file:" 0
-
- END DIALOG
-
- DIALOG MakeOptions
-
- -2134376448 8 73 60 140 62 "" "" "Data File Options"
-
- FONT 8 "Helv"
-
- 69 6 12 12 8002 1350631552 "edit" "" 0
-
- 69 19 12 12 8003 1350631552 "edit" "" 0
-
- 94 4 40 14 1 1342373889 "button" "OK" 0
-
- 95 19 40 14 2 1342373888 "button" "Cancel" 0
-
- 4 9 50 8 1002 1342177280 "static" "&Field delimiter:" 0
-
- 4 23 60 8 1003 1342177280 "static" "&Record delimiter: " 0
-
- 7 43 76 10 1004 1342177281 "static" "$, #, !, %, (, ), ~, |, -" 0
-
- 3 33 88 24 20 1342177287 "button" "Suggested Delimiters" 0
-
- END DIALOG
-
- DIALOG NoMatch
-
- FONT 8 "Helv"
-
- -2134376448 2 86 56 121 50 "" "" "Search Results"
-
- 41 25 40 14 1 1342373889 "button" "OK" 0
-
- 34 7 57 10 1000 1342177280 "static" "No match found" 0
-
- END DIALOG
-
-
-
- >
- [macsum4] 14 135
- Main 0 0 9 19
- MainCall 1284 3 7 77
- CollectHeader 2323 3 7 193
- DefineFields 3139 0 5 221
- MakeCall 3802 3 12 242
- WriteFields 5764 1 6 305
- PackGlobals 6248 3 3 320
- FreeGlobals 7182 0 1 347
- MainBox 7626 0 -1 365
- Sort 9679 0 -1 412
- Goto 10261 0 -1 426
- MakeFields 10709 0 -1 438
- MakeOptions 11328 0 -1 453
- NoMatch 11839 0 -1 465
- [macse]
- 14 Main
- 29 0 Main
- 17 1
- 0 32 2
- 17 2
- 29 1 FldSep
- 29 2 RecSep
- 29 3 Stat
- 17 3
- 5 1
- 29 4 FieldNames
- 21 4 [X]
- 17 5
- 5 0
- 16 CollectHeader &4 &1 &2
- 13
- 0 805 &3 [X]
- 13
- 18 0
- 11 00000207
- 10 00000361
- 17 7
- 5 1
- 16 DefineFields
- 13
- 0 805 &3 [X]
- 13
- 18 0
- 11 00000349
- 17 8
- 16 FreeGlobals
- 17 9
- 10 00000115
- 17 10
- 5 0
- 15
- 9
- 10 00000361
- 6 0
- 15
- 9
- 17 15
- 16 PackGlobals &4 "{1}" "{2}"
- 17 16
- 29 5 ProDir
- 0 798
- 13
- 8 5
- 17 17
- 29 6 Mac
- 0 802
- 13
- 8 6
- 17 18
- 0 31 1000 "{5}GreyBlue.bmt"
- 17 23
- 0 31 82 ""
- 17 24
- 0 31 83 ""
- 17 25
- 0 31 84 ""
- 17 26
- 0 31 85 ""
- 17 28
- 0 41 21 "{6}!MainCall"
- 17 29
- 0 41 23 "{6}!MainCall"
- 17 30
- 0 41 24 "{6}!MainCall"
- 17 31
- 0 41 27 "{6}!MainCall"
- 17 32
- 0 41 28 "{6}!MainCall"
- 17 33
- 0 41 29 "{6}!MainCall"
- 17 34
- 0 41 30 "{6}!MainCall"
- 17 35
- 0 41 31 "{6}!MainCall"
- 17 36
- 0 41 32 "{6}!MainCall"
- 17 37
- 0 41 33 "{6}!MainCall"
- 17 38
- 0 41 34 "{6}!MainCall"
- 17 44
- 29 7 Box
- 0 26 "." "Mainbox"
- 13
- 8 7
- 17 45
- 16 FreeGlobals
- 17 46
- 7 ""
- 16 _$$GetOpenFileName$
- 13
- 18 0
- 11 00001058
- 24 104
- 17 49
- 29 8 fname
- 16 _$$GetOpenFileName$
- 13
- 8 8
- 17 50
- 7 ""
- 6 8
- 18 1
- 11 00001265
- 17 51
- 2 147 1
- 17 52
- 6 8
- 30 101 221 223
- 17 53
- 7 ""
- 30 101 221 162
- 17 54
- 5 2
- 30 101 221 226
- 17 55
- 0 67 781
- 6 0
- 15
- 17 57
- 9
- 14 MainCall
- 29 0 Hdlg
- 29 1 id
- 29 2 dummy
- 29 3 MainCall
- 17 1
- 0 32 2
- 17 2
- 29 4 LastField
- 0 273 "LastField" 1
- 13
- 8 4
- 17 3
- 29 5 TotalFields
- 0 273 "TotalFields" 1
- 13
- 8 5
- 17 4
- 5 21
- 6 1
- 18 0
- 11 00000231
- 10 00001019
- 5 23
- 6 1
- 18 0
- 11 00000274
- 10 00001019
- 5 24
- 6 1
- 18 0
- 11 00000317
- 10 00001019
- 5 27
- 6 1
- 18 0
- 11 00000360
- 10 00001019
- 5 28
- 6 1
- 18 0
- 11 00000403
- 10 00001019
- 5 29
- 6 1
- 18 0
- 11 00000446
- 10 00001019
- 5 30
- 6 1
- 18 0
- 11 00000489
- 10 00001019
- 5 31
- 6 1
- 18 0
- 11 00000903
- 17 72
- 0 6 "[16419]"
- 17 73
- 29 6 fldsep
- 0 265 "FieldSep"
- 13
- 8 6
- 17 74
- 29 7 recsep
- 0 265 "RecSep"
- 13
- 8 7
- 17 75
- 29 8 max
- 0 265 "TotalFields"
- 13
- 8 8
- 29 9 i
- 5 1
- 8 9
- 17 76
- 6 8
- 6 9
- 18 2
- 12 00000780
- 10 00000865
- 5 1
- 6 9
- 3 0
- 8 9
- 10 00000698
- 17 77
- 5 8000
- 6 9
- 3 0
- 0 42 "{0}" [X]
- 13
- 0 6 [X]
- 17 78
- 0 6 "{6}"
- 10 00000747
- 17 80
- 0 6 "[8]{7}[13]"
- 10 00001019
- 5 32
- 6 1
- 18 0
- 11 00000946
- 10 00001019
- 5 33
- 6 1
- 18 0
- 11 00000989
- 10 00001019
- 5 34
- 6 1
- 18 0
- 11 00001019
- 6 3
- 15
- 17 115
- 9
- 14 CollectHeader
- 29 0 FieldNames
- 29 1 FldSep
- 29 2 RecSep
- 29 3 CollectHeader
- 17 1
- 29 4 Stat
- 17 2
- 5 1
- 29 5 TempHead
- 21 5 [X]
- 17 3
- 0 6 "[16420]"
- 17 4
- 0 6 "[36][4131]"
- 17 5
- 29 6 Char
- 16 _$$CurShade$
- 13
- 8 6
- 17 6
- 0 14 "{6}"
- 13
- 5 2
- 18 1
- 11 00000299
- 17 8
- 5 -1
- 15
- 9
- 6 3
- 15
- 9
- 17 11
- 29 7 Sep
- 0 15 "{6}" 1 1
- 13
- 8 7
- 17 12
- 29 8 Rec
- 0 15 "{6}" 2 1
- 13
- 8 8
- 17 13
- 0 6 "[36][40][20520]"
- 17 14
- 16 _$$CurShade$
- 13
- 8 6
- 17 15
- 29 9 x
- 5 1
- 8 9
- 17 16
- 5 -1
- 0 20 "{6}" "{9}" "{7}"
- 13
- 0 805 &4 [X]
- 13
- 18 1
- 11 00000761
- 17 17
- 5 0
- 0 808 0 "{4}" "{8}"
- 13
- 18 1
- 11 00000691
- 17 18
- 0 20 "{4}" 1 "{8}"
- 13
- 8 4
- 17 19
- 0 1041 &0 "{9}" "{4}"
- 17 20
- 10 00000761
- 17 22
- 0 1041 &0 "{9}" "{4}"
- 17 23
- 6 9
- 5 1
- 3 0
- 8 9
- 10 00000471
- 17 25
- 6 7
- 28 1
- 17 26
- 6 8
- 28 2
- 6 3
- 15
- 17 27
- 9
- 14 DefineFields
- 29 0 DefineFields
- 17 1
- 29 1 Mac
- 0 802
- 13
- 8 1
- 17 2
- 29 2 Prodir
- 0 798
- 13
- 8 2
- 17 3
- 0 271 "DefineField" 1
- 17 4
- 0 271 "DefineRec" 1
- 17 5
- 0 271 "BoxReturn" 1
- 17 6
- 0 272 "BoxReturn" 1 0
- 17 7
- 0 272 "DefineField" 1 "~"
- 17 8
- 0 272 "DefineRec" 1 "|"
- 17 9
- 0 31 23 "{2}Up.bmp"
- 17 10
- 0 31 24 "{2}Downbig.bmp"
- 17 11
- 0 41 20 "{1}!MakeCall"
- 17 12
- 0 41 21 "{1}!MakeCall"
- 17 13
- 0 41 22 "{1}!MakeCall"
- 17 14
- 0 41 23 "{1}!MakeCall"
- 17 15
- 0 41 24 "{1}!MakeCall"
- 17 16
- 0 41 30 "{1}!MakeCall"
- 17 17
- 29 3 Box
- 0 26 "." "MakeFields"
- 13
- 8 3
- 17 18
- 29 4 BoxStat
- 0 273 "BoxReturn" 1
- 13
- 8 4
- 17 19
- 6 4
- 15
- 9
- 6 0
- 15
- 17 20
- 9
- 14 MakeCall
- 29 0 Hdlg
- 29 1 id
- 29 2 dummy
- 29 3 MakeCall
- 17 1
- 29 4 Total
- 17 2
- 0 32 2
- 17 3
- 29 5 EditBoxText
- 0 42 "{0}" 8001
- 13
- 8 5
- 17 4
- 29 6 ListBoxText
- 0 42 "{0}" 9000
- 13
- 8 6
- 17 5
- 29 7 FldSep
- 0 273 "DefineField" 1
- 13
- 8 7
- 17 6
- 29 8 RecSep
- 0 273 "DefineRec" 1
- 13
- 8 8
- 17 7
- 5 21
- 6 1
- 18 0
- 11 00000690
- 17 9
- 6 5
- 7 ""
- 18 1
- 11 00000677
- 17 10
- 5 0
- 0 808 0 "{5}" "{7}"
- 13
- 18 0
- 5 0
- 0 808 0 "{5}" "{8}"
- 13
- 18 0
- 1 1
- 11 00000614
- 17 11
- 0 43 "{0}" 9000 "{5}"
- 17 12
- 29 9 idx
- 0 60 "{0}" 9000
- 13
- 5 1
- 3 1
- 8 9
- 17 13
- 0 62 "{0}" 9000 "{9}"
- 17 14
- 0 43 "{0}" 8001 ""
- 10 00000677
- 17 16
- 0 3 "You cannot use either {7} or {8} in a field name"
- 10 00001943
- 5 22
- 6 1
- 18 0
- 11 00000823
- 17 20
- 0 61 "{0}" 9000
- 13
- 8 9
- 17 21
- 0 65 "{0}" 9000 "{9}"
- 17 22
- 0 43 "{0}" 8001 ""
- 10 00001943
- 5 23
- 6 1
- 18 0
- 11 00001112
- 17 24
- 0 61 "{0}" 9000
- 13
- 8 9
- 17 25
- 6 9
- 5 0
- 18 3
- 11 00001099
- 17 26
- 29 10 stuff
- 0 63 "{0}" 9000 "{9}"
- 13
- 8 10
- 17 27
- 0 65 "{0}" 9000 "{9}"
- 17 28
- 6 9
- 5 1
- 3 1
- 8 9
- 17 29
- 0 66 "{0}" 9000 "{9}" "{10}"
- 17 30
- 0 62 "{0}" 9000 "{9}"
- 10 00001943
- 5 24
- 6 1
- 18 0
- 11 00001444
- 17 33
- 0 61 "{0}" 9000
- 13
- 8 9
- 17 34
- 29 11 max
- 0 60 "{0}" 9000
- 13
- 8 11
- 17 35
- 6 9
- 5 1
- 3 0
- 6 11
- 18 5
- 11 00001431
- 17 36
- 0 63 "{0}" 9000 "{9}"
- 13
- 8 10
- 17 37
- 0 65 "{0}" 9000 "{9}"
- 17 38
- 6 9
- 5 1
- 3 0
- 8 9
- 17 39
- 0 66 "{0}" 9000 "{9}" "{10}"
- 17 40
- 0 62 "{0}" 9000 "{9}"
- 10 00001943
- 5 30
- 6 1
- 18 0
- 11 00001487
- 10 00001943
- 5 20
- 6 1
- 18 0
- 11 00001943
- 17 50
- 5 0
- 0 60 "{0}" 9000
- 13
- 0 805 &4 [X]
- 13
- 18 1
- 11 00001943
- 17 51
- 0 272 "BoxReturn" 1 1
- 17 52
- 6 4
- 29 12 TempNames
- 21 12 [X]
- 17 53
- 29 13 ItemName
- 7 ""
- 8 13
- 29 14 T
- 5 0
- 8 14
- 17 54
- 6 4
- 5 1
- 3 1
- 6 14
- 18 2
- 12 00001807
- 10 00001897
- 5 1
- 6 14
- 3 0
- 8 14
- 10 00001712
- 17 55
- 0 63 "{0}" 9000 "{14}"
- 13
- 8 13
- 17 56
- 6 14
- 5 1
- 3 0
- 6 13
- 23 12
- 10 00001772
- 17 58
- 16 WriteFields &12
- 17 59
- 0 64 "{0}"
- 6 3
- 15
- 17 62
- 9
- 14 WriteFields
- 29 0 TempName
- 29 1 WriteFields
- 17 1
- 29 2 Size
- 0 1046 &0
- 13
- 8 2
- 17 2
- 29 3 RecSep
- 0 273 "DefineRec" 1
- 13
- 8 3
- 17 3
- 29 4 FldSep
- 0 273 "DefineField" 1
- 13
- 8 4
- 17 4
- 0 6 "[16420]"
- 17 5
- 0 6 "{4}{3}[13]"
- 29 5 t
- 5 1
- 8 5
- 17 6
- 6 2
- 6 5
- 18 2
- 12 00000330
- 10 00000410
- 5 1
- 6 5
- 3 0
- 8 5
- 10 00000249
- 17 7
- 29 6 Item
- 6 5
- 22 0
- 8 6
- 17 8
- 0 6 "{6}"
- 17 9
- 0 6 "{4}"
- 10 00000297
- 17 11
- 0 6 "[8]"
- 17 12
- 0 6 "{3}"
- 17 13
- 0 6 "[13]"
- 6 1
- 15
- 17 14
- 9
- 14 PackGlobals
- 29 0 FieldNames
- 29 1 FldSep
- 29 2 RecSep
- 29 3 PackGlobals
- 17 1
- 29 4 TotalFields
- 0 1046 &0
- 13
- 8 4
- 17 2
- 0 271 "TotalFields" 1
- 17 3
- 0 271 "FieldNames" "{4}"
- 17 4
- 0 271 "LastField" 1
- 17 5
- 0 271 "EditData" "{4}"
- 17 6
- 0 271 "FieldSep" 1
- 17 7
- 0 271 "RecSep" 1
- 17 8
- 0 271 "KeyField" 1
- 17 9
- 0 271 "EditTarget" 1
- 17 10
- 0 271 "RedoNames" 1
- 17 11
- 0 271 "RefreshMain" 1
- 17 12
- 0 271 "RefreshButton" 1
- 17 13
- 0 271 "LastEditField" 1
- 17 14
- 0 272 "RefreshButton" 1 1
- 17 15
- 0 272 "RedoNames" 1 0
- 17 16
- 0 272 "FieldSep" 1 "{1}"
- 17 17
- 0 272 "RecSep" 1 "{2}"
- 17 18
- 0 272 "TotalFields" 1 "{4}"
- 17 19
- 0 272 "LastField" 1 0
- 17 20
- 0 272 "KeyField" 1 1
- 17 21
- 0 272 "RefreshMain" 1 1
- 17 22
- 0 272 "LastEditField" 1 0
- 29 5 t
- 5 1
- 8 5
- 17 23
- 6 4
- 6 5
- 18 2
- 12 00000854
- 10 00000915
- 5 1
- 6 5
- 3 0
- 8 5
- 10 00000772
- 17 24
- 6 5
- 22 0
- 0 272 "FieldNames" "{5}" [X]
- 10 00000821
- 6 3
- 15
- 17 26
- 9
- 14 FreeGlobals
- 29 0 FreeGlobals
- 17 1
- 0 266 "TotalFields"
- 17 2
- 0 266 "FieldNames"
- 17 3
- 0 266 "LastField"
- 17 4
- 0 266 "EditData"
- 17 5
- 0 266 "FieldSep"
- 17 6
- 0 266 "RecSep"
- 17 7
- 0 266 "DefineField"
- 17 8
- 0 266 "DefineRec"
- 17 9
- 0 266 "BoxReturn"
- 17 10
- 0 266 "KeyField"
- 17 11
- 0 266 "EditTarget"
- 17 12
- 0 266 "RedoNames"
- 17 13
- 0 266 "RefreshMain"
- 17 14
- 0 266 "RefreshButton"
- 17 15
- 0 266 "LastEditField"
- 6 0
- 15
- 17 16
- 9
- DIALOG MainBox
- -2134376448 43 22 32 296 194 "" "" "Edit Merge Data File"
- FONT 8 "Helv"
- 6 6 236 178 1000 1342177290 "static" "filename.bmp" 0
- 94 27 130 12 8001 1350762624 "edit" "" 0
- 94 41 130 12 8002 1350631552 "edit" "" 0
- 94 55 130 12 8003 1350631552 "edit" "" 0
- 94 69 130 12 8004 1350631552 "edit" "" 0
- 94 83 130 12 8005 1350631552 "edit" "" 0
- 94 97 130 12 8006 1350631552 "edit" "" 0
- 94 111 130 12 8007 1350631552 "edit" "" 0
- 94 125 130 12 8008 1350631552 "edit" "" 0
- 94 139 130 12 8009 1350631552 "edit" "" 0
- 94 153 130 12 8010 1350762624 "edit" "" 0
- 247 17 46 14 31 1342373889 "button" "&Add" 0
- 247 33 46 14 32 1342373888 "button" "Dele&te" 0
- 247 49 46 14 21 1342373888 "button" "U&pdate" 0
- 247 65 46 14 33 1342373888 "button" "&New Record" 0
- 247 103 46 14 34 1342373888 "button" "Add Field..." 0
- 247 81 46 14 1 1342373888 "button" "Close" 0
- 247 119 46 14 27 1342373888 "button" "&Sort..." 0
- 247 135 46 14 30 1342373888 "button" "&Go To..." 0
- 247 151 21 14 29 1342373888 "button" "<<" 0
- 272 151 21 14 28 1342373888 "button" ">>" 0
- 227 153 12 12 23 1342308352 "button" ">>" 0
- 227 27 12 12 24 1342308352 "button" "<<" 0
- 24 30 64 8 1001 1342177282 "static" "" 0
- 28 43 60 8 1002 1342177282 "static" "" 0
- 24 57 64 8 1003 1342177282 "static" "" 0
- 24 71 64 8 1004 1342177282 "static" "" 0
- 24 85 64 8 1005 1342177282 "static" "" 0
- 24 99 64 8 1006 1342177282 "static" "" 0
- 24 113 64 8 1007 1342177282 "static" "" 0
- 24 127 64 8 1008 1342177282 "static" "" 0
- 24 141 64 8 1009 1342177282 "static" "" 0
- 24 155 64 8 1010 1342177282 "static" "" 0
- 98 10 36 8 82 1342177288 "button" "" 0
- 104 9 37 8 83 1342177288 "button" "" 0
- 151 9 34 8 84 1342177288 "button" "" 0
- 198 9 35 8 85 1342177288 "button" "" 0
- 11 250 12 7 41 1342177280 "button" "RET" 0
- 8 16 86 8 1017 1342177280 "static" "Submit bugs to Peyton." 0
- 60 10 36 8 1018 1342177280 "static" "" 0
- 104 9 37 8 1019 1342177280 "static" "" 0
- 151 9 35 8 1020 1342177280 "static" "" 0
- 198 9 35 8 1021 1342177280 "static" "" 0
- DIALOG Sort
- -2134376448 10 103 60 152 82 "" "" "Sort Records"
- FONT 8 "Helv"
- 6 15 86 65 9500 1344339971 "combobox" "" 0
- 108 4 40 14 1 1342242817 "button" "OK" 0
- 108 20 40 14 2 1342242816 "button" "Cancel" 0
- 6 4 52 8 1000 1342177280 "static" "Sort by field:" 0
- 6 36 66 40 20 1342242823 "button" "Sort type" 0
- 80 36 68 40 21 1342242823 "button" "Sort order" 0
- 8 48 54 12 22 1342373897 "button" "&Alphanumeric" 0
- 8 60 50 12 23 1342242825 "button" "&Numeric" 0
- 84 48 50 10 24 1342373897 "button" "&Ascending" 0
- 84 60 54 12 25 1342242825 "button" "&Descending" 0
- DIALOG Goto
- -2134376448 8 34 64 251 42 "" "" "Go To"
- FONT 8 "Helv"
- 129 3 73 12 8000 1350631552 "edit" "" 0
- 207 2 40 14 1 1342242817 "button" "Go To" 0
- 207 18 40 14 2 1342242816 "button" "Cancel" 0
- 4 3 41 10 20 1342242825 "button" "&Field:" 0
- 54 3 65 38 9500 1344339971 "combobox" "" 0
- 4 14 48 12 21 1342242825 "button" "First record" 0
- 4 27 47 10 22 1342242825 "button" "Last record" 0
- 121 5 6 8 1000 1342177280 "static" "=" 0
- DIALOG MakeFields
- -2134376448 11 71 51 142 105 "" "" "Create Data File"
- FONT 8 "Helv"
- 6 13 86 12 8001 1350631424 "edit" "" 0
- 98 4 40 14 20 1342242816 "button" "OK" 0
- 98 20 40 14 2 1342242816 "button" "Cancel" 0
- 98 36 40 14 21 1342242817 "button" "&Add" 0
- 98 52 40 14 22 1342242816 "button" "&Remove" 0
- 98 68 16 14 23 1342242816 "button" "&Up" 0
- 122 68 16 14 24 1342242816 "button" "&Dn" 0
- 99 87 40 14 30 1342242816 "button" "&Options..." 0
- 6 39 86 64 9000 1352728577 "listbox" "" 0
- 6 3 68 8 1000 1342177280 "static" "Field Name:" 0
- 7 29 59 9 1001 1342177280 "static" "Fields in data file:" 0
- DIALOG MakeOptions
- -2134376448 8 73 60 140 62 "" "" "Data File Options"
- FONT 8 "Helv"
- 69 6 12 12 8002 1350631552 "edit" "" 0
- 69 19 12 12 8003 1350631552 "edit" "" 0
- 94 4 40 14 1 1342373889 "button" "OK" 0
- 95 19 40 14 2 1342373888 "button" "Cancel" 0
- 4 9 50 8 1002 1342177280 "static" "&Field delimiter:" 0
- 4 23 60 8 1003 1342177280 "static" "&Record delimiter: " 0
- 7 43 76 10 1004 1342177281 "static" "$, #, !, %, (, ), ~, |, -" 0
- 3 33 88 24 20 1342177287 "button" "Suggested Delimiters" 0
- DIALOG NoMatch
- FONT 8 "Helv"
- -2134376448 2 86 56 121 50 "" "" "Search Results"
- 41 25 40 14 1 1342373889 "button" "OK" 0
- 34 7 57 10 1000 1342177280 "static" "No match found" 0
- 00015273
-