Jump to content
Sign in to follow this  
d0n

@error

Recommended Posts

d0n

is there a way to do this check a variable's @error without using @error right after the variable?

I have something like this and want to check the @error further down the script instead of doing it right under them

$aMatch1 = StringRegExp($aLines[$i], $Pattern2, 1)

$aMatch2 = StringRegExp($aLines[$i], $Pattern2, 1)

if the question is unclear i'll try to clear it up :S

Share this post


Link to post
Share on other sites
billthecreator

is there a way to do this check a variable's @error without using @error right after the variable?

I have something like this and want to check the @error further down the script instead of doing it right under them

$aMatch1 = StringRegExp($aLines[$i], $Pattern2, 1)

$aMatch2 = StringRegExp($aLines[$i], $Pattern2, 1)

if the question is unclear i'll try to clear it up :S

Some errors return as 0. so use

if $aMatch1 <> 0 then... that meants if it does not have an error, or.

if $aMatch1 = 0 then...


[font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.