Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2

Thread: Help me ..

  1. #1
    Join Date
    Jul 2007
    Posts
    287

    Help me ..

    Code : ( İn Button1 )

    a = File.DoesExist("C:\\mustafa.txt");
    Input.SetText("Input1", a);

    İf ı click button1 then ı want to saw my input = mustafa.txt

    how ?

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Try -
    Code:
    a = File.DoesExist("C:\\mustafa.txt");
    if a then 
    a_txt = "mustafa.txt"
    else
    a_txt = "mustafa.txt not found"
    end
    Input.SetText("Input1", a_txt);
    File.DoesExist just returns a boolean i.e. true or false which you can test for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts