DaveO
MAYBE we can even get this new thing to say "HELLO" ??
---------------------------------------------------
"AustinMN" <tacooperX@Xatt.net> wrote in message
news:nM1Xc.515083$Gx4.426892@bgtnsc04-news.ops.worldnet.att.net...
steve joked:[color=blue]
> roflmao!
>
> hey, wouldn't it be cool to also have a function that would allow you to
> give it the values you wanted to compare against a variable and if a
> match
> existed in the list...return a certain value? i think i'd call that
> function
> "switch-a-roo"...maybe just "SWITCH". but that's years down the line...way
> too advanced for the technology we have today! after all, we've still
> gotta
> work out how this "IF THEN ELSE ELSEIF" stuff is going to work! another
> wish
> list item i'd have would be maybe something called "SELECT". its purpose
> would be to unclutter IF/THEN/ELSEIF/ELSE when you had a bunch of
> conditions
> where you may want to execute code...maybe call the comparitor value a
> "CASE"...like "in case this value is eq. to this other value".
>
> but i digress, that's all just too far in the future.
>
> lol[/color]
I have a truly radical idea. Maybe we could have variables that could hold
different kinds of data! Like if you set it equal to a string, it would
become a string variable. If you set it to an integer, it would switch to
being an integer.
Wadaya think? Too difficult? Too strange a concept? Would it even be
useful, like if you didn't know what kind of data you were going to get?
If/Then/ElseIf/Else...I'll have to think about that one. We may be onto
something there. I think there's a problem, though. How will the compiler
know how many lies belong to the Else? I think it should have an EndIf or
something like that.
Austin
--
You programmed with 1s and 0s? We only had 0s!
There are no X characters in my address |