Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88

    Huh? Application.ExitScript!

    Hello again Guyz,

    I have a question about the application.exitscript action .. let's say i have 2 if conditions in the application.

    something like
    Code:
    if whatever==32 then
    -- do action --
    end
    
    if whatever==888 then
    -- do action --
    end
    if i wrote this in the first condition
    Code:
    if whatever==32 then
    -- do action --
    else
    Application.ExitScript();
    end
    does this stop only the 1st condition and proceed to the next one or it does stop the whole script ?!

    if it does stop the whole script so .. how can i stop only the 1st one and proceed to the other ?!

    Thanks,
    Galal

  2. #2
    Join Date
    Dec 2003
    Posts
    891
    try
    Code:
    if whatever == 32 then
    do action
    elseif whatever == 888 then
    do action
    else
    Application.ExitScript();
    end
    this will not exit the script unless the whatever is not equal to the set values

  3. #3
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88
    thnx for ur reply mate .. U made me think it another way and realised it .. thnx again

  4. #4
    Join Date
    Dec 2003
    Posts
    891
    No problem, glad I could help

Posting Permissions

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