Author Topic: How to be an utter n00b, by me  (Read 7541 times)

0 Members and 1 Guest are viewing this topic.

Offline TheGag96

  • LV0 Newcomer (Next: 5)
  • Posts: 3
  • Rating: +0/-0
    • View Profile
How to be an utter n00b, by me
« on: October 26, 2010, 08:55:38 pm »
Alright, I just started programming in Axe today on my brand new TI-84 Plus Silver Edition. :D

I have two things I really need to ask about:

1. When I try to make programs, how do I type in things like Str1 and Pic1? They're not in catalog, and I can't really print lowercase letters... What do I do?
2. When I run the programs I can make after I compile them, I run them through the asm(prgmTEST), and it just says "Done." Even if I tell it to display an answer or whatever, it doesn't say anything at all. What do I do? Wait, scratch this, I ran it through MirageOS and it just ran it for a split second. How do I make it wait?

Thanks!

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: How to be an utter n00b, by me
« Reply #1 on: October 26, 2010, 09:00:31 pm »
Hi!  Welcome to Omnimaga! :)

I only have a 89 and Nspire, so I am not too sure about this, but I believe there is some program that can be downloaded that will allow you to type in lowercase (also, you can probably access these vars somewhere, but I don't know how).

Anyway, there are a ton of 84 users at Omnimaga, so I am sure some will be able to answer you shortly! :)


Offline TheGag96

  • LV0 Newcomer (Next: 5)
  • Posts: 3
  • Rating: +0/-0
    • View Profile
Re: How to be an utter n00b, by me
« Reply #2 on: October 26, 2010, 09:08:41 pm »
Great! And thank you!

Also, please don't think I'm a noob when it comes to forums. I've been on SMW Central for about a year now (and I am somewhat known by most users). So, I won't be double posting and making useless threads/posts and crap. :)

Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: How to be an utter n00b, by me
« Reply #3 on: October 26, 2010, 09:13:29 pm »
Welcome here!
You can get Pics, Strings etc by pressing VARS. You have to use these tokens to call the OS Vars.
You can activate lowercase by change the option 'Alpha' in the Axe Parser Options menu. You can write text in lowercase by pressing ALPHA a second time.
Use 'Pause' + a value to freeze the program a particular time. Pause 1900 is a second on 6Mhz.
If you want to wait until a key is pressed, you should use
Code: [Select]
.KEYPRESS
Repeat Getkey(15) . 15 = Keycode for CLEAR, take a look at the keycode picture in the Axe Parser folder
End

Edit: Changed 45 to 15.
« Last Edit: October 26, 2010, 09:35:58 pm by Aichi »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: How to be an utter n00b, by me
« Reply #4 on: October 26, 2010, 09:26:32 pm »
/\also, the majority of axe's routines draw to the screen buffer rather than directly to the screen, so you have to use DispGraph to copy the buffer to the screen.

good luck on things!

Offline TheGag96

  • LV0 Newcomer (Next: 5)
  • Posts: 3
  • Rating: +0/-0
    • View Profile
Re: How to be an utter n00b, by me
« Reply #5 on: October 26, 2010, 09:28:28 pm »
Oh crap, I actually typed in the . 45 after Getkey(45) and it compiled fine, but now the program won't close, even with Clear pressed. What now?

EDIT: Eh, nevermind, I just took out the batteries. Do I need the parentheses in getkey? I tried it without the . 45 and it did the same thing.

EDIT2: aaa ninja'd
« Last Edit: October 26, 2010, 09:38:50 pm by TheGag96 »

Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: How to be an utter n00b, by me
« Reply #6 on: October 26, 2010, 09:31:44 pm »
but now the program won't close, even with Clear pressed. What now?
Sorry, thats my fault. 45 is the basic keycode for CLEAR. What you have to use is 15.
Edit: Here are all keycodes.
« Last Edit: October 26, 2010, 09:33:58 pm by Aichi »

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: How to be an utter n00b, by me
« Reply #7 on: October 26, 2010, 09:35:22 pm »
Oh crap, I actually typed in the . 45 after Getkey(45) and it compiled fine, but now the program won't close, even with Clear pressed. What now?

press the X2 button. that's the button that has keycode 45.


Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: How to be an utter n00b, by me
« Reply #8 on: October 26, 2010, 09:52:07 pm »
Do I need the parentheses in getkey? I tried it without the . 45 and it did the same thing.
Yes, you need to type the keycode in parantheses.
All written after a dot is commenting text that will be ignored by Axe.
You just have to write
Code: [Select]
.KEYPRESS
Repeat Getkey(15)
End

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: How to be an utter n00b, by me
« Reply #9 on: October 26, 2010, 10:29:38 pm »
Msg of these are tokens, after a while, you'll know gem by heart. :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How to be an utter n00b, by me
« Reply #10 on: October 26, 2010, 10:39:22 pm »
So, I won't be double posting and making useless threads/posts and crap. :)
I deleted 17 so far. Just kidding, don't worry, our views is that everyone gotta start somewhere so if a new member double-post we will not yell at them or something like that, we will just point them to the right direction. Welcome here by the way :)

To type lowercase you activate the ALPHA function in the Axe menu, or you can use another utility like Doors CS7 or CODEX to enable them. Why Texas Instruments disabled lowercase by default is beyond me.

As for Str1/2/3 you need to go in VARS and there you can find them. :)

Good luck in your Axe programming venture :)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: How to be an utter n00b, by me
« Reply #11 on: October 26, 2010, 10:43:20 pm »
So, I won't be double posting and making useless threads/posts and crap. :)
I deleted 17 so far. Just kidding, don't worry, our views is that everyone gotta start somewhere so if a new member double-post we will not yell at them or something like that, we will just point them to the right direction. Welcome here by the way :)

To type lowercase you activate the ALPHA function in the Axe menu, or you can use another utility like Doors CS7 or CODEX to enable them. Why Texas Instruments disabled lowercase by default is beyond me.

As for Str1/2/3 you need to go in VARS and there you can find them. :)

Good luck in your Axe programming venture :)

i really want to double post now.... 8O

I agree with ti having lowercase disabled by default.
The Letter in all cases for basic calculator functions is to just be a variable.

What really gets me is why they didn't have lowercase available in the menu....
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: How to be an utter n00b, by me
« Reply #12 on: October 27, 2010, 10:31:35 am »
Also, please don't think I'm a noob when it comes to forums. I've been on SMW Central for about a year now (and I am somewhat known by most users). So, I won't be double posting and making useless threads/posts and crap. :)
Good to hear. Welcome to Omnimaga.

If you want to wait until a key is pressed, you should use
Code: [Select]
.KEYPRESS
Repeat Getkey(15) . 15 = Keycode for CLEAR, take a look at the keycode picture in the Axe Parser folder
End
Alternatively, you could use getKey(0) to wait for any key instead of just Clear, which is my personal preference.
« Last Edit: October 27, 2010, 10:31:48 am by JustCause »
See you, space cowboy...

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: How to be an utter n00b, by me
« Reply #13 on: October 27, 2010, 11:29:07 am »
And your issue with the immediate done thing: I had this issue on my nspire, and the way I fixed it was reinstalling the OS. Not sure if that'll help your situation, but it's worth a shot. Make sure you use 2.43 when you reinstall, not 2.5 MP edition

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: How to be an utter n00b, by me
« Reply #14 on: October 27, 2010, 11:34:10 am »
And your issue with the immediate done thing: I had this issue on my nspire, and the way I fixed it was reinstalling the OS. Not sure if that'll help your situation, but it's worth a shot. Make sure you use 2.43 when you reinstall, not 2.5 MP edition

I believe the only reason he was having this problem is because he was compiling the programs with the Ion/MirageOS header, which will immediately return if run with Asm() on the home screen.