Using && in perl ?
Is there any thing that could cause the && function not to work. the || function works fine as far as just about everything else I try. I am out of ideas on why the function will cause any quest not to work period.
Here is just a simple example I wrote to test it. Quote:
|
It should be
Code:
if (($JO==7)&&($JA==6)) |
Thanks
Wow, thank you so much. I was pulling my hair out over that. The tiny font on most websites made the () and {} look the same in all the examples.
|
hehe. Yep, I've noticed that too. Have fun.
|
If you use Firefox, you can always hold down CTRL and use the scroll on your mouse to increase or decrease font size for any website. Comes in quite handy when you need it.
|
Quote:
|
This is a great Perl editor for windows
http://enginsite.com/Perl.htm It's free, and has a registered version with more features. Once you get the hang of it, it will show you where you screwed up with your typos (has built in Syntax Check, Expressions Tester,etc). |
All times are GMT -4. The time now is 04:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.