Welcome, Guest. Please
Login
Home
Help
Search
Login
FAQ
Radified
Ghost.Classic
Ghost.New
Bootable CD
Blog
Radified Community Forums
›
Rad Community Non-Technical Discussion Boards
›
The Water Cooler
› programming 'expressions'
(Moderators: Rad, Christer, NightOwl, Pleonasm, MrMagoo, El_Pescador)
‹
Previous Topic
|
Next Topic
›
Pages: 1
programming 'expressions' (Read 7619 times)
Rad
Radministrator
Offline
Sufferin' succotash
Posts: 4090
Newport Beach, California
Back to top
programming 'expressions'
Jan 1
st
, 2011 at 6:47pm
when programmers use the term 'expressions,' is it true that they are generally referring the LOGICAL expressions, by which I mean if-else statements or some variation of the if-else statement?
IP Logged
MrMagoo
Übermensch
Offline
Resident Linux Guru
Posts: 1026
Phoenix, AZ (USA)
Back to top
Re: programming 'expressions'
Reply #1 -
Jan 2
nd
, 2011 at 3:18pm
No, that's not quite the right idea for an expression. An expression is a statement or set of statements that returns a value. A simple expression is 2+2, which returns 4. The value returned doesn't have to be numeric. 1==1 is an expression which would return 'true' (a boolean data type.)
if-else statements are going to make logical decisions in your program. By themselves, they aren't going to pass back a value.
The Wikipedia page on expressions is mildly helpful.
http://en.wikipedia.org/wiki/Expression_%28programming%29
IP Logged
Rad
Radministrator
Offline
Sufferin' succotash
Posts: 4090
Newport Beach, California
Back to top
Re: programming 'expressions'
Reply #2 -
Jan 4
th
, 2011 at 6:21pm
Thanks.
Yeah, I first went there to the Wikipedia page. Wasn't clear to me.
IP Logged
Richie
N00b
Offline
I Love Radified!
Posts: 1
Back to top
Re: programming 'expressions'
Reply #3 -
Sep 6
th
, 2011 at 8:53am
I'm just starting to study programming and your explanation made a lot of stuff clear. Thanks!
_____________
I and [url=http://][/url] are inseparable!
IP Logged
Marc Colby
N00b
Offline
I like paragliding.
Posts: 1
2355 Stillwell Ave, Brooklyn,
Back to top
Re: programming 'expressions'
Reply #4 -
Nov 15
th
, 2011 at 6:31am
If you have any doubt in Expression and Logical operator so you can use two links.
http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/chap03/logical.html
http://docs.roxen.com/pike/7.0/tutorial/expressions/logical.xml
Edited by Nightowl:
Unnecessary Spam
IP Logged
Rad
Radministrator
Offline
Sufferin' succotash
Posts: 4090
Newport Beach, California
Back to top
Re: programming 'expressions'
Reply #5 -
Nov 15
th
, 2011 at 11:10am
ooh, i like the link to wikipedia's spam page:
http://en.wikipedia.org/wiki/Spam_(electronic)
very nice.
also thanks for the links, MC.
IP Logged
Pages: 1
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Rad Community Technical Discussion Boards (Computer Hardware + PC Software)
- Norton Ghost 15, 14, 12, 10, 9, + Norton Save + Restore (NS+R)
- Norton Ghost 2003, Ghost v8.x + Ghost Solution Suite (GSS) Discussion Board
- Cloning Programs (Except Norton Ghost)
- NightOwl's Bootable CD/DVD
- PC Hardware + Software (except Cloning programs)
Rad Community Non-Technical Discussion Boards
- The Water Cooler ««
- YaBB Forum Software + Rad Web Site
Radified Community Forums
» Powered by
YaBB 2.4
!
YaBB
© 2000-2009. All Rights Reserved.