| Author |
Seraphine Hack

 Joined: 21 May 2007 Posts: 333 Location: San Francisco Fri Nov 07, 2008 9:34 am
|
|
| Message |
computers have a language of their own
|
   |
|
Hi computer. xoxo
*hi sera. 101101
huh? xoxo means love and kisses.
*i gave you a string: 101101
so we're even then?
*if love then kisses elseIf string then even
End If
umm. string makes me feel loopy. do you have any chocolate instead? _________________ *|*
.0/
Who needs sleep?
|
|
|
      |
| Author |
jimbo Site Admin
 Joined: 01 May 2006 Posts: 701 Location: Los Angeles, CA. Fri Nov 07, 2008 4:28 pm
|
|
| Message |
Re: computers have a language of their own
|
   |
|
| Seraphine wrote: | Hi computer. xoxo
*hi sera. 101101
huh? xoxo means love and kisses.
*i gave you a string: 101101
so we're even then?
*if love then kisses elseIf string then even
End If
umm. string makes me feel loopy. do you have any chocolate instead? |
It's only a string if cast as such, otherwise, that's problably an array.
And that would be better like this:
| Code: |
If (love) {
then kisses;
} else if (string) {
then even;
} |
| Code: |
if (guest == seraphine) {
chuckle and reply;
} else {
echo "Who is this?"
} |
;^) _________________ "I don't live in a virtual world, I just work there."
|
|
|
       |