<:#240,11578> If {Namentry} != "DELETED" <+">'the display dialog box.<-">
<:#240,11578> FillEdit(9000, {Namentry}) <+">'Puts the name of the frame<-"><+"> into the dialog box<-">
<:#240,11578> EndIf
<:s><:#240,11578> Next
Filledit(1002,<:f200,2Times New Roman,255,127,255>UCase$(<:f>{Whatdatafile})<:f200,2Times New Roman,255,127,255>)<:f> <+">'Puts the name of the data file into the dialog box.<-">
Filentry=<:f200,2Times New Roman,255,127,255>Ucase$(<:f>GetprofileString$("datafilelistsection", "File{x}" , "AMIPRO2.INI")<:f200,2Times New Roman,255,127,255>)
<:#240,11578> If {Filentry} != "DELETED"
<:#240,11578> FillEdit(9000, {Filentry})
<:#240,11578> EndIf
<:s><:#240,11578> Next
<:#245,11578><+!>Otherboxbody:<-!> <+">'Sets up procedures<-"><+"> handles<-"><+"> by dialog box.<-">
<:#240,11578> If delerror != 0 <+">'Error routine in case of error deleting file.<-">
<:s><:#240,11578> Beep()
<:#480,11578> Message("There has been an error deleting the file. Please check to ensure file exists and is in default Macro directory.")
<:#240,11578> Goto Otherboxinit
<:#240,11578> EndIf
<:#240,11578> EndIf
<:#245,11578> <+!>Adjustini:<-!> <+">'Adjusts the amipro2.ini for new active data file<-">
<:#240,11578> For x=1 to datafiles
<:#240,11578> Filentry=<:f200,2Times New Roman,255,127,255>Ucase$(<:f>GetprofileString$("datafilelistsection", "File{x}" , "AMIPRO2.INI")<:f200,2Times New Roman,255,127,255>)<:f>
<:#240,11578> If <:f200,2Times New Roman,255,127,255>Ucase$(<:f>File<:f200,2Times New Roman,255,127,255>)<:f>=filentry
<:#240,11578> If <:f200,2Times New Roman,255,127,255>Ucase$<:f200,2Times New Roman,255,127,255>(<:f>file<:f200,2Times New Roman,255,127,255>)<:f200,2Times New Roman,0,0,0>=<:f200,2Times New Roman,255,127,255>Ucase$(<:f>currdatafile<:f200,2Times New Roman,255,127,255>)<:f>
<:#240,11578> Message("You have deleted you current data file. Please select another.")
<:#240,11578> Intro="Although you can place an unlimited number if frames in the data file, the larger the file the slower the performance."
<:#240,11578> SwitchIntro="<+#>To change<-#><+#> the data file<-#><+#>:<-#>"
<:#240,11578> Switchit="Select the data file name or type it in the Change to text box. Choose Switch To."
<:#240,11578> CreateIntro="<+#>To create a new data file<-#><+#>:<-#>"
<:#240,11578> Create="Type the name you want to use for the data file. Choose Create."
<:#240,11578> DeleteIntro="<+#>To delete a data file<-#><+#>:<-#>"
<:#240,11578> Deletetext="Select the data file name or type it in text box. Choose Delete'."
<:#240,11578> QuitIntro="<+#>To close the dialog box:<-#>"
<:#240,11578> Quit="Select Close."
<:#240,11578> Stop=chr$(13)
<:#720,11578> Filledit (1000, "{Intro}{Stop}{Stop}{SwitchIntro}{Stop}{Switchit}{Stop}{Stop}{CreateIntro}{Stop}{Create}{Stop}{Stop}{DeleteIntro}{Stop}{Deletetext}{Stop}{Stop}{QuitIntro}{Stop}{Quit}") <+">'Flows the text into the Help dialog box window.<-">
<:#240,11578> DialogBox("." "Datafilechangehelp") <+">'This overcomes character limit of sigle edit box.<-">
<+B><:#240,11578><+!><+#>'The following are dialog boxes called in functions above.<-#><-!>
@dialogbox@<:#240,11578><-!><-!><-!><-+>
@dialogbox@<:#240,11578><-+><-!>DIALOG Display <-!><-+><-!><-!><-!><-+> 'This sections sets up builds the main dialog box<-+><-!><-!><-!><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+><-!><-+>
@dialogbox@<:#245,11578><-!><-!><-+><+!><++><:f200,2Times New Roman,0,0,0>DIALOG Datafilechange <-+><-!><-+><:f><+"><:f200,2Times New Roman,0,0,0> 'Sets up the dialog box for the Data FIle Manipulation procedure<-"><+">.<-"><-!><-+><-!><-+><-!><-+><:f>
@dialogbox@<:#240,11578><:f200,2Times New Roman,0,0,0>-2134376448 8<:f><:f200,2Times New Roman,0,0,0> 162 58 139 117<:f><:f200,2Times New Roman,0,0,0> "" "AmiDialog" "<:f><:f200,2Times New Roman,0,0,0>Data FIle"
@dialogbox@<:#240,11578><:f200,2Times New Roman,0,0,0>FONT 8 "Helv"
@dialogbox@<:#240,11578><:f200,2Times New Roman,0,0,0>6 16<:f><:f200,2Times New Roman,0,0,0> <:f><:f200,2Times New Roman,0,0,0> 84 12 8000 1350631552 "edit"