Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Dark Hero on November 16, 2010, 07:57:16 pm

Title: Won't work...
Post by: Dark Hero on November 16, 2010, 07:57:16 pm
Well, I just got Axe Parser today and I've looked at some guides on how to start using it...as far as I know, it basically requires you to write a program in a certain language (I have some sample programs that I found) and then by compiling it, it can now be run.

However, when I click compile on Axe Parser, it says Select Program and then there is a blank underneath-I made sure the program wasn't archived yet nothing shows up. In addition, whenever I click Help, it exits out rather than showing anything. Any help would be very much appreciated.
Title: Re: Won't work...
Post by: shmibs on November 16, 2010, 08:00:04 pm
you have to use a special header in your basic program to let it know that you want it to show up there.
the first line must have a . followed by the desired program name

EDIT: oh, and axe can handle compiling from the archive, by the way, so there is no need to keep everything in the ram if you're scared the code is going to crash. if it is in the ram, however, the source file will be backed up to an appvar in the archive which can be restored later on if a crash occurs. also, make sure you know what shell your program is being compiled for. nostub(no shell) is the easiest since it doesnt require any shells (programs or apps with built in libraries that programs can call. Doors, for example ;D) and thus can be run from the homescreen by selecting asm( from the catalog and then your program name from the program list
example:
Asm(prgmA
Title: Re: Won't work...
Post by: calcdude84se on November 16, 2010, 08:01:08 pm
Help is nonfunctional as of now. Also, programs can be archived.
My guess is that you don't have the header. You need a line containing a '.' followed by what the name of the compiled program should be. Example:
Code: [Select]
.COMPILEDEdit: ninja'd again! >.>
Title: Re: Won't work...
Post by: Dark Hero on November 16, 2010, 08:02:14 pm
Thanks so much, it worked :D
Just one last question, after I compile it, how do I run it?
Title: Re: Won't work...
Post by: Deep Toaster on November 16, 2010, 08:03:50 pm
Just run Asm(prgmCOMPILED from the homescreen. Asm( is found in the catalog (2nd+[CATALOG]), by the way.
Title: Re: Won't work...
Post by: Dark Hero on November 16, 2010, 08:10:35 pm
It worked, thanks a ton.
Title: Re: Won't work...
Post by: calcdude84se on November 16, 2010, 08:12:01 pm
We're always glad to help. :)
Also, welcome to Omnimaga! :D
Title: Re: Won't work...
Post by: DJ Omnimaga on November 16, 2010, 09:28:18 pm
Glad it works. :)

Welcome to the forums. :)
Title: Re: Won't work...
Post by: Ti-DkS on November 18, 2010, 04:29:52 am
Hi ! Welcome to Omnimaga ! :) Are you working on a precise project or are only interested in Axe at the moment ? It's a very powerful app which allows you to make loads of amazing things ;)
Title: Re: Won't work...
Post by: Dark Hero on November 19, 2010, 07:14:24 pm
Right now, I'm just interested in Axe and trying to figure out the language it uses. Then I'll probably just test it for a while.