Updated save file function
This commit is contained in:
parent
92d6f2d715
commit
9695620832
5
Aide.bas
5
Aide.bas
@ -144,7 +144,12 @@ SUB RaSaveFile(hEDT as HWND)
|
||||
|
||||
tabName$ = GetTabLabelText(TabCtrl_GetCurSel(ghMainTab))
|
||||
|
||||
IF tabName$ = "New.bas" THEN
|
||||
fNAME$ = GETFILENAME$("Save","BCX Files|*.BAS;*.INC;*.bi;*.bci",1,ghMainFrm,0,0,tabName$,0)
|
||||
ELSE
|
||||
fNAME$ = tabName$
|
||||
END IF
|
||||
|
||||
IF *fNAME$ THEN
|
||||
eTEXT$ = BCX_GET_TEXT$(hEDT)
|
||||
OPEN fNAME$ FOR OUTPUT AS FP1
|
||||
|
Loading…
Reference in New Issue
Block a user