Jump to content

Recommended Posts

Posted (edited)

Is it possible to use 2 statements under the same condition :

If Not <expression> Then <statement>&&<statement> ?

If Not <expression> Then
    <statement>
    <statement>
EndIf

Or

If Not <expression> Then
For ...
  ..
Next
While ...
  ..
Wend
function()
nextFunction()
etc.
EndIf
Edited by Ealric

My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic]

Posted

<statements> are in fact functions,not variables, which are detailed at the end of the script.

If Not <expression> Then Modify() && ExitProgram() ?

Func Modify()

.....

EndFunc

Func ExitProgram()

Exit (0)

EndFunc

Posted

<statements> are in fact functions,not variables, which are detailed at the end of the script.

If Not <expression> Then Modify() && ExitProgram() ?

Func Modify()

.....

EndFunc

Func ExitProgram()

Exit (0)

EndFunc

If Not <expression> Then

Modify()

ExitProgram()

Endif

Func Modify()

.....

EndFunc

Func ExitProgram()

Exit (0)

EndFunc

C.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...