05-11-2024, 03:22 PM
(This post was last modified: 05-11-2024, 03:22 PM by Kernelpanic.)
Code: (Select All)
KillIt% = _MessageBox("FILE EXISTS", Z_File$ + " Exists\nOverwrite?", "yesno", "question", 0)
The "\n" is a C/C++ control character and does not work in Basic.All three options are better than just yes/no.
Code: (Select All)
KillIt% = _MessageBox("FILE EXISTS", Z_File$ + "Exist -- Overwrite?", "yesnocancel", "question", 2)
If KillIt% = 1 Then
Kill (Z_File$)
Else
Z_File$ = _InputBox$("NEW FILE NAME", "Enter ZCM File Name", Z_File$)
If Z_File$ = "" Then System
GoTo StartZWrite
End If
StartZWrite:
Print "Ende"