Omnimaga

General Discussion => Introduce Yourself! => Topic started by: pikminboy111 on February 02, 2011, 11:02:08 pm

Title: HI!
Post by: pikminboy111 on February 02, 2011, 11:02:08 pm
i did this in hope that i can put my pic as the cake(the cake is a lie). i just started to learn basic, and my first program was

Disp HELLO WORLD!
Pause

( i now know that wont work; so much for a first program :()
Title: Re: HI!
Post by: Xeda112358 on February 02, 2011, 11:04:50 pm
Code: [Select]
:Pause "HELLO!(Didja press enter yet!?!)
Hello, welcome, whatsup? HI!
Hey, at least you have an interest in programming! There are tons of people to help, here, so don't you worry about your BASIC skills, we'll help ya out! ^-^

Hi!
Title: Re: HI!
Post by: SirCmpwn on February 02, 2011, 11:07:04 pm
Welcome to Omnimaga!  Here is your complementary bag of peanuts.
!peanuts
Title: Re: HI!
Post by: ruler501 on February 02, 2011, 11:12:22 pm
Welcome this is a great community for programmers and anyone interested in calcs. If you want to learn alot just stick around here for a while. Again welcome and we're happy to have you join
Title: Re: HI!
Post by: DJ Omnimaga on February 02, 2011, 11:51:29 pm
Hiya and welcome here :)
Title: Re: HI!
Post by: kalan_vod on February 02, 2011, 11:59:06 pm
i did this in hope that i can put my pic as the cake(the cake is a lie). i just started to learn basic, and my first program was

Disp "HELLO WORLD!
Pause

( i now know that wont work; so much for a first program :()
Don't be hard on yourself, I added a bit of code to make it work ;)
Title: Re: HI!
Post by: Xeda112358 on February 03, 2011, 12:04:35 am
Hey! That's not a bit! That's a byte :P (just playin')
Fine, I take away a byte:
Code: [Select]
Pause "HELLO WORLD!So that is a neat trick. If you want to Pause and display text or a number, you can use Pause the same way you use Disp.
To display text, you use the quotation mark.

This displays the number 37:
Code: [Select]
Pause 37This displays "HOWDY WORLD!" on the homescreen:
Code: [Select]
Pause "HOWDY WORLD!
Title: Re: HI!
Post by: FinaleTI on February 03, 2011, 06:05:07 am
Hey! That's not a bit! That's a byte :P (just playin')
Fine, I take away a byte:
Code: [Select]
Pause "HELLO WORLD!
Wouldn't that be two bytes? Because the newline is a byte.
Title: Re: HI!
Post by: jnesselr on February 03, 2011, 07:32:39 am
Hey! That's not a bit! That's a byte :P (just playin')
Fine, I take away a byte:
Code: [Select]
Pause "HELLO WORLD!
Wouldn't that be two bytes? Because the newline is a byte.
Yes, indeed.

i did this in hope that i can put my pic as the cake(the cake is a lie).
I don't remember how many, but on this forum, to prevent spam and bots, we require at lest so many posts to do certain things.  For example, you can't use OmnomIRC until you have 20 posts.  Editing your profile is one of those things.  I think it comes after 5 posts.  Oh, posts in Randomness and Introduce Yourself topics do not increase post count.
Title: Re: HI!
Post by: DJ Omnimaga on February 03, 2011, 09:39:30 am
Yeah this was to prevent bots from stuffing advertisements or adult images in their profile/avatar/signature (which happened before).