Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 14:53:51 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Axe Library : AxeLib7 -  (Read 3838 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« on: 09 May, 2011, 15:08:35 »
0

I made an Axe prgm which contains lots of Lbls, is it considered as a library ?
Most of functions are made to make DCS's style.

Spoiler for functions:
  • Get DCS7's cursor (need a ptr)
  • Open calc's variables (need name, returns ptr)
  • Close calc's variables (need name)
  • Draw a window like DCS7 (need title, Xtitle, icon's adress (0 for none))
  • Returns 1 if point(X,Y) is in rect (X,Y,W,H) (need X:r1, Y:r2, etc.)
    Info : if r3=99, returns 1 if X,Y is on the close icon
  • Draw a button like DCS7 (need XYWH, title, and 1 if title must be write)
  • Draw a small window like DCS7 (need title, 1 if close button, and XYWH)
  • Draw a b/w/transparent cursor (need adress of white)
« Last Edit: 09 May, 2011, 20:36:01 by zero44 » Logged

____________
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 09 June, 2013, 20:37:11
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #1 on: 09 May, 2011, 15:11:47 »
0

A "Library" refers to a set of routines that aren't made into a full program on their own, but rather they are intended to be used by other people to aid them in making their programs.
Logged

There's something about Tuesday...


Pushpins 'n' stuff...

zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« Reply #2 on: 09 May, 2011, 15:15:52 »
0

How can I make a real Library ?
Logged

____________
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 09 June, 2013, 20:37:11
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #3 on: 09 May, 2011, 15:17:52 »
0

Well, if your program is a collection of routines that are not specific to a particular program, then it could be called a library.

EDIT: This was post 333 Cheesy
« Last Edit: 09 May, 2011, 15:20:09 by ZippyDee » Logged

There's something about Tuesday...


Pushpins 'n' stuff...

aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 06:09:33
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3146


Total Post Ratings: +120

View Profile
« Reply #4 on: 09 May, 2011, 15:24:09 »
0

I think that you can call this program a library, since it can be used in any program.
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« Reply #5 on: 09 May, 2011, 15:25:18 »
0

I don't exactly understand what ZippyDee said ...
I have prgmAXELIB7, and in my axe source code, I write at the top:
.PROGRAM SomeThing
#Icon(---)
[---]->GDB1
prgmAXELIB7
.code

In each program, I include it but axe parser includes all code of AXELIB7, so the compiled prgm has something like 1200 bytes more ... -_-
« Last Edit: 09 May, 2011, 15:26:21 by zero44 » Logged

____________
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 09 June, 2013, 20:37:11
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #6 on: 09 May, 2011, 15:26:37 »
0

I think that you can call this program a library, since it can be used in any program.
Well that's the key thing...CAN it be used in any program? If it's written for only a specific program, then it's not really a library (at least not a good one). The syntax and usage of commands should be fairly straightforward and logical for general use.
Logged

There's something about Tuesday...


Pushpins 'n' stuff...

zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« Reply #7 on: 09 May, 2011, 15:28:19 »
0

I can use it in all programs I make.

It's very useful for me, but it takes lots of place .
Logged

____________
aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 06:09:33
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3146


Total Post Ratings: +120

View Profile
« Reply #8 on: 09 May, 2011, 15:28:55 »
0

zero: You should actually include a program at the end.... so, after the final return. I assume you know how to call subroutines?
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 09 June, 2013, 20:37:11
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #9 on: 09 May, 2011, 15:30:01 »
0

I can use it in all programs I make.

It's very useful for me, but it takes lots of place .
Well how else would you expect it to work? It has to take up space if you're going to include it in your program. There's no way for it to exist and take up no space...
Logged

There's something about Tuesday...


Pushpins 'n' stuff...

aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 06:09:33
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3146


Total Post Ratings: +120

View Profile
« Reply #10 on: 09 May, 2011, 15:30:59 »
0

It would be useful if axe only included the specific routines you use (the ones that are called)
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
ZippyDee
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 09 June, 2013, 20:37:11
Date Registered: 21 March, 2011, 03:15:07
Location: Yes.
Posts: 704


Total Post Ratings: +73

View Profile
« Reply #11 on: 09 May, 2011, 15:32:23 »
0

Yeah, that would be useful...
* ZippyDee thinks there's a very good place to bring that up SOMEWHERE on this forum...I wonder where that could be?
Logged

There's something about Tuesday...


Pushpins 'n' stuff...

zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« Reply #12 on: 09 May, 2011, 15:32:57 »
0

It will be very great if Quigibo can write all my functions in Axe 1.0.0 ...
It will take less place, no ?

aeTIos : If I include it at the end, will it be better ?

PS: does someone know how many space will take AxeParser 1.0.0 ?
Logged

____________
aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 06:09:33
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3146


Total Post Ratings: +120

View Profile
« Reply #13 on: 09 May, 2011, 15:34:13 »
0

Grin I'll add a post in the feature request thread. also, I think this is in the wrong subforum, I think it should be moved to 'Other calc-related projects and ideas'. I can't move threads, tho... maybe a mod can do?

Edit:
Zero, yeah, including at the end is way better, it reduces starting time for your program. Also, Axe 1.0.0 will be the same size as it is atm (imo) since most functions are added already.
I dont think Quigibo will include your program, since you wrote it already and it is a bit too specific.
« Last Edit: 09 May, 2011, 15:36:20 by aeTIos » Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 16 June, 2013, 13:07:00
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Topic starter
Total Post Ratings: +18

View Profile WWW
« Reply #14 on: 09 May, 2011, 15:35:12 »
0

But it's for axe, no ?
Logged

____________
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.246 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.