Qbasicnews.com

Full Version: help w/another assignment...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hehe... not only FF1, but 8-bit theater. http://nuklearpower.com... really funny stuff :lol:
cool
Quote:that was clever. but wont you get all the text on the left when it's 11, 16 ,21 ?
what do you mean. unless mistaken i believe to answer is no. run it and see

Quote:It may be clever, but my opinion is that it's overly complicated for the job needed to be done, and it limits the messages...
limits messages?
Sure. Say you want messages with more then 1 word, or even more then 5 letters... you'd have to change the whole code to do that, rather then just a simple PRINT command.
Quote:Sure. Say you want messages with more then 1 word, or even more then 5 letters... you'd have to change the whole code to do that, rather then just a simple PRINT command.
no...
Code:
a$ = "I love cats I hate dogs Food is goodEat chicken "
RANDOMIZE TIMER
CLS
PRINT RTRIM$(MID$(a$, (INT(RND * 4)) * 12 + 1, 12))
Bah, still have to change two things. Sorry, was thinking differently.
Quote:Bah, still have to change two things. Sorry, was thinking differently.
hmm thinking differently...
Thinking in terms of my C++ program... grabs words in a string of words and returns em. Handy.
Quote:Thinking in terms of my C++ program... grabs words in a string of words and returns em. Handy.

???
what do you mean. how was it different?
Sorry to burst your high-and-almighty bubble whitetiger, but I already made the head/tail program using that method before you, look in the challenge section under that compo about shortest useful program Wink
Pages: 1 2 3 4