Hello im quite new to AMS. Im in progress of making a simple program and iv got to the point where I would like to make a "Save as" button. So far iv been experimenting with a blank project. I have created a button which creates a table, I then created a button that displays the first value (255) from the table in a dilog box (just to make sure it works). Then iv got a "save as" button and a "open" button. ANYWAY! When i preview the program i insert the table, click the "save as" and call it something like test and the file test appers! yay but when i open it back up again the table value has changed from 255 to the location i saved the file to? eg C:\test.dat
Make table button:
myArray = {255,0,255};
Get first value button:
Dialog.Message("First number", myArray[1], MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Save As button:
myArray = Dialog.FileBrowse(false, "Save As", "C:\\", "All Files (*.*)|*.*|", "", "dat", false, true);
TextFile.WriteFromTable(myArray[1], myArray, false);
open button:
myArray = Dialog.FileBrowse(true, "Locate File", "c:\\", "All Files (*.*)|*.*|", "", "", false, true);
Thanks

