Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Ti-newb on June 15, 2009, 03:26:55 pm

Title: Sub Programs!!!!!!
Post by: Ti-newb on June 15, 2009, 03:26:55 pm
I couldn't find another place that better suits a Sub Programs topic. Because these arn't really.. Projects.. i guess..

Anyways this is where you can post Usefull(or just any Sub Programs) that people can check out and use! XD
Remember to post up the requirements of your prgm


EDIT: OMGOMG!!! i just typed upalmost like.. half a page of stuff. and i tried to attach my prgm but it didn't work... now i gotta retype it..
Title: Re: Sub Programs!!!!!!
Post by: DJ Omnimaga on June 15, 2009, 03:42:54 pm
ouch this sucks, I hate when I type a post then suddently my PC freaks out and goes out of control, stuff happening without myself doingn anything, like suddently changing to another webpage in the middle of my typing. Or when omni goes down while I click post. This is fucking annoying x.x

As for subprograms I don't have anything much useful atm,tho (well, I do, but it's for use in Illusiat 13 if it's finished and not too slow) :S
Title: Re: Sub Programs!!!!!!
Post by: Ti-newb on June 15, 2009, 03:50:44 pm
Here is the First SubPrgm. It's a Menu Subprgm which is pretty neat.

Insert ur options into Str1. so for example. STARTQUIT->Str1

Then the Syntax for L1 is.. {Xcoordinate,Ycoordinate,Logic/options,Word_count..

Logic/Options
0=Don't ClrDraw
1=Normal (Clrdraw and have boundarys)
2=No Boundarys
3=No Boundarys and Don't ClrDraw(this is usually use if you have a pre-set Boundary that looks kick ass)

For word count. If you have the words STARTQUIT->Str1, ur word count would look like. 5,4.. START has 5 letters, and QUIT has 4.

Now if u don't get it. type this down.     STARTCREDITSOPTIONSQUIT->Str1  {2,10,1,5,7,7,4->L1
*Btw, my Boundarys adjust depending on how many options, and how many letters are in each option.

EDIT: The Variable E, Returns the option u picked.

This prgm requires Xlib/CelticIII.
Title: Re: Sub Programs!!!!!!
Post by: Eeems on June 15, 2009, 03:50:55 pm
were you trying to type up your program? if you were you could use sourcecoder 2 to parse it for you and save you the work
Title: Re: Sub Programs!!!!!!
Post by: Ti-newb on June 16, 2009, 09:35:41 am
I ninja'd u.
Title: Re: Sub Programs!!!!!!
Post by: tifreak on June 16, 2009, 12:59:29 pm
Not really sure if any of the things I have would be good routines to share, but I will look through some of it none the less and post any that I deem worthy.