Author Topic: 89 Basic Tutorial  (Read 19381 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
89 Basic Tutorial
« Reply #60 on: July 08, 2005, 03:08:00 pm »
Or maybe he is workin on the tutorials...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #61 on: July 08, 2005, 07:48:00 pm »
Sorry for falling off of the face of the earth again.  I am a very busy guy...thats why I post at the oddest times...how about this, A tutorial update tomarrow.  And now...for some sleep... B)cool.gif

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
89 Basic Tutorial
« Reply #62 on: July 09, 2005, 02:10:00 am »
lol, I hear you man. Work 60 hours + a week kinda gets to you...

And the next tutorial would be great!  :thumb:google.gif

Edit: Thought you would like to know that the tutorials are getting a couple hits a week now... :)smile.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #63 on: July 15, 2005, 02:51:00 am »
Chapter 3 Output Functions

There is one simple truth about output: everything that is the result of something else is output.  And concordantly, anything that can be seen, heard, or understood is also output.  Sometimes input is output:

Once upon a time there was a fly above a lake.  There was a fish watching the fly that was thinking, ?When the fly comes near the water, I can jump up an grab the fly?.  Well, their also happened to be a bear that was watching a fish that was thinking, ?When the fly goes near the pond, the fish will grab the fly and I can grab the fish?? The story goes on and on until a cat is watching a mouse watching a hunter?s sandwich; the hunter is busy watching the bear that is watching the fish that is watching the fly.  This is an excellent example of output and its relation to input, and also how something can quickly change from input to output.

With that said, lets take a look at some ways we can use output to both request and display input on a screen.  When you display input, it is called output  This chapter is dedicated to dwelling even more on input and output.  If you believe that you have a steady foundation in input and output philosophy, please feel free to skip ahead as this may seem unnervingly elementary.

Enter the program editor and press 3 to create a new program. Name this program ?Inputut?.  Enter the program below as shown:


Exoutput()
Prgm

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
89 Basic Tutorial
« Reply #64 on: July 15, 2005, 03:12:00 am »
w00t an update! :Dbiggrin.gif

Look nice, now I see how it works and might help me if I want to mess around with BASIC if I get a 89. Al;so I now see why there are no word wrap in this function (I think): Basically on the 83+ on the home screen there are 8 row and 16 columns. Basically if you do Output(2,4,"HELLO" it will display HELLO at row 2 column 4. However the TI-89 output function is similar to the 83+ Text( command. If you do Text(12,31,"HELLO" it will display HELLO at pixel row 12 and pixel column 31 with no word wrap (text displayed outside of the screen to the right will be cut). This will display small text though. I dunno if there ar esimilar things on 68ks but on the 83+/84+ calcs (not on the 82/83 regular though) if you do Text(-54125+1,12,31,"HELLO" instead of Text(12,31,"HELLO" it will display big text fonts (like on the homescreen) instead of small ones :)smile.gif
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

arti

  • Guest
89 Basic Tutorial
« Reply #65 on: July 15, 2005, 04:14:00 am »
Unfortunately, there is no small font for the 68k's in pure Basic. You can use the Flib C library to achieve 3 font sizes (large, normal, small).

However, you get small font when using the Dialog Box function (like a pop-up window, it's neat) - but on the 92/v200 that font is also quite large. Bleh.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
89 Basic Tutorial
« Reply #66 on: July 15, 2005, 05:05:00 am »
Yay! Got to go get the laptop and get it copied... B)cool.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #67 on: July 15, 2005, 08:07:00 am »
The font issue is remedied using the incrediblly powerful FLIB library.

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #68 on: July 15, 2005, 12:30:00 pm »
Chapter 3 update now includes the bonus program

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
89 Basic Tutorial
« Reply #69 on: July 16, 2005, 02:24:00 am »
K, got to add that, and then make it look like that email you sent me...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #70 on: July 16, 2005, 06:30:00 am »
QuoteBegin-tifreak8x+July 16, 2005, 08:24-->
QUOTE (tifreak8x @ July 16, 2005, 08:24)
K, got to add that, and then make it look like that email you sent me...  

 Don't worry I already have the formatted version and will send them to you today.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
89 Basic Tutorial
« Reply #71 on: July 16, 2005, 06:57:00 am »
Oh, ok. :)smile.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
89 Basic Tutorial
« Reply #72 on: July 16, 2005, 11:44:00 am »
Oh I see now the edited part of your post mjenkins86, very cool. :)smile.gif
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
89 Basic Tutorial
« Reply #73 on: July 18, 2005, 03:40:00 am »
Some notes about the bonus program in chapter 3 for interpation:
the comand ord("A") will give you the "Ascii Key code" for the character "Capital A", which amazing is 65 like one would assume.  Think C programming.  The command char(65) will give the Ascii character for the code inputed.  In this case the character corresponding with code 65 is "Capital A" or A.  So the loop:

ord("A")c
For a, c,c+25
Disp char(a)
Endfor

Will display every letter of the alphabet in capital form.
This will do the same thing as

for a,65,91
Disp char(a)
EndFor

you would only do

ord("A")c

if you didnt know that "A" = 65  

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
89 Basic Tutorial
« Reply #74 on: July 29, 2005, 04:06:00 am »
nice...

hmm, is it me or did something happened? Lot of members have left the scene lately in the past weeks, not only on Omnimaga but everywhere as well. I havent seen mjenkins, arti, greenorange, solitaire710, etc for a long while :(sad.gif
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)