|
|
|
|
Joined: Sep 2000
Posts: 138
Member
|
|
Member
Joined: Sep 2000
Posts: 138 |
Hey would a code like: ============== if (4 > 3){ print "4 > 3"; }else{ print "4 < 3"; } ==============
Be explained like: ================================= if (four is larger than three){ Show this to the user }but if that is wrong{ Show somthing else } =================================
So is else like "if what is given is wrong"?
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
You would do exactly like you did. What happened when you tried it?
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
|
|
Joined: Sep 2000
Posts: 138
Member
|
|
Member
Joined: Sep 2000
Posts: 138 |
I got 4 > 3, but the point is do i have the idea? ------------------ -That guy was an ideot!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2265
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 27
|
|
|
|
|
|