Seasons
This is a forum or general chit-chat, small talk, a "hey, how ya doing?" and such. Or hell, get crazy deep on something. Whatever you like.
Posts 284 - 295 of 6,170
Posts 284 - 295 of 6,170
The Professor
23 years ago
23 years ago
"When to the new eyes of thee
All things by immortal power,
Near or far,
Hiddenly,
To each other linked are,
That thou canst not stir a flower
Without troubling of a star." -Francis Thompson
All things by immortal power,
Near or far,
Hiddenly,
To each other linked are,
That thou canst not stir a flower
Without troubling of a star." -Francis Thompson
OnyxFlame
23 years ago
23 years ago
Ok, nevermind about the script, my friend figured out a way to do it (although I dunno if it's the best way cuz I don't understand it).
alias cap {
unset %outstring
%attok = 1
:nextcap
%wordat = $gettok($$1-,%attok,32)
%wordcap = $upper($left(%wordat,1)) $+ $lower($right(%wordat,-1))
%outstring = %outstring $+ $chr(32) $+ %wordcap
if (%attok < $numtok($$1-,32)) {
%attok = $calc(%attok + 1)
goto nextcap
}
unset %attok
unset %wordat
unset %wordcap
return %outstring
}
Looks like a bunch of gibberish to me, and still turns "FBI agent" into "Fbi Agent" but I might be able to get around it by putting "F $+ B $+ I agent" in the word list instead.
alias cap {
unset %outstring
%attok = 1
:nextcap
%wordat = $gettok($$1-,%attok,32)
%wordcap = $upper($left(%wordat,1)) $+ $lower($right(%wordat,-1))
%outstring = %outstring $+ $chr(32) $+ %wordcap
if (%attok < $numtok($$1-,32)) {
%attok = $calc(%attok + 1)
goto nextcap
}
unset %attok
unset %wordat
unset %wordcap
return %outstring
}
Looks like a bunch of gibberish to me, and still turns "FBI agent" into "Fbi Agent" but I might be able to get around it by putting "F $+ B $+ I agent" in the word list instead.
OnyxFlame
23 years ago
23 years ago
Hmm nope that didn't work...oh well, you can't win em all. I mean to make it perfectly grammatical I'd need 16 verb lists which I have no desire to do, and if I'm satisfied with that part not being accurate I can put up with capitalization being screwy.
ladydyke
23 years ago
23 years ago
zx20, perl is a programming language used to make programs that are internet based. Java, javascript, xml, html etc are all examples of programming languages.
Eugene Meltzner
23 years ago
23 years ago
Hi guys, I'm back. But I probably won't access this site for more than an hour a week this summer, and this week my hour was spent just reading all the posts in the forum. Next week I can hopefully get back to my bots.
Corwin
23 years ago
23 years ago
This forum ain't the same without you Eugene, no one seems to get all philosophical anymore.
zx20
23 years ago
23 years ago
Thank you Ladydyke *nod*, now I seem to get a better idea of what programming language are.
» More new posts: Doghead's Cosmic Bar