Author Topic: [Project] Auto-Organize Program  (Read 11814 times)

0 Members and 1 Guest are viewing this topic.

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: [Request]
« Reply #45 on: November 16, 2010, 05:02:47 pm »
it's all programmer's choice, here. personally, i don't understand why you would even indent on calculator source code. i don't even comment on my source for calculators.


Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Request]
« Reply #46 on: November 16, 2010, 05:03:26 pm »
It makes it easier for people to understand their or someone else's code.
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
____________________________________________________________

SirCmpwn

  • Guest
Re: [Request]
« Reply #47 on: November 16, 2010, 05:03:27 pm »
Also, speaking of menus, I have a routine that will display a custom menu in the same style that TIOS uses.  I just need to figure out a way of getting it off my calculator.
Also, I personally don't indent my code, but I comment a lot on the more complex stuff.
« Last Edit: November 16, 2010, 05:04:00 pm by SirCmpwn »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Request]
« Reply #48 on: November 16, 2010, 05:09:04 pm »
I figured if you had a program to do it for you, why not? ;)
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [Request]
« Reply #49 on: November 16, 2010, 06:55:48 pm »
i suppose,  but why would you want that?


either way,  That would be under Options:  which i will add once i rip apart Builderboy's code for program menus.


my graphics card fan is about to shut off.



Mostly it's just that a lot of programmer like to treat If  statements as blocks (since that's kinda what they are). Ends are much easier to debug that way.




Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Request]
« Reply #50 on: November 16, 2010, 07:16:23 pm »
well thats the way it organizes.
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 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: [Request]
« Reply #51 on: November 16, 2010, 10:36:41 pm »
it's all programmer's choice, here. personally, i don't understand why you would even indent on calculator source code. i don't even comment on my source for calculators.
Yeah it depends of people. Personally i don't bother. I just add more linebreaks between parts of code. I try to add some comments if I fear I will forget what something does, though. Otherwise I end up having to rewrite lots of things, like with Metroid II: Evolution 4 years ago. X.x

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #52 on: November 17, 2010, 06:52:11 am »
it's all programmer's choice, here. personally, i don't understand why you would even indent on calculator source code. i don't even comment on my source for calculators.
Yeah it depends of people. Personally i don't bother. I just add more linebreaks between parts of code. I try to add some comments if I fear I will forget what something does, though. Otherwise I end up having to rewrite lots of things, like with Metroid II: Evolution 4 years ago. X.x

people not bothering is why i made it ;)
now instead of 5-45 min of organizing, it will take 30 sec.

(it will still be used by me ;))
« Last Edit: November 17, 2010, 06:52:31 am by happybobjr »
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [Project] Auto-Organize Program
« Reply #53 on: November 17, 2010, 10:37:13 am »
Quote from: happybobjr
it's all programmer's choice, here. personally, i don't understand why you would even indent on calculator source code. i don't even comment on my source for calculators.
Yeah it depends of people. Personally i don't bother. I just add more linebreaks between parts of code. I try to add some comments if I fear I will forget what something does, though. Otherwise I end up having to rewrite lots of things, like with Metroid II: Evolution 4 years ago. X.x

people not bothering is why i made it ;)
now instead of 5-45 min of organizing, it will take 30 sec.

(it will still be used by me ;))

And I'll be using it too :D Good luck.




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #54 on: November 17, 2010, 12:42:57 pm »
That would be cool, since I never organize my scripts, they are always a mess!

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: [Project] Auto-Organize Program
« Reply #55 on: November 17, 2010, 03:08:26 pm »
Yeah I might start using it too for some projects.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #56 on: November 18, 2010, 01:28:42 am »
Sweet ^^ I would have started indenting my programs a long time ago, but the main reason i don't is because of screen space :( Maybe this combined with a small font editor would be epic!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #57 on: November 18, 2010, 10:42:02 am »
you can edit your font?

or are you saying a code editor with small characters?... humm that does sound like a good idea... 

EDIT: i am going to tear this down and start over.
        I really hate how i dealt with ignoring spaces within comments.


In new version I am planning on rewriting how i do my space ignoring.

Edit:  I will be a while on an update.
« Last Edit: November 18, 2010, 04:02:58 pm by happybobjr »
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 Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #58 on: November 18, 2010, 07:08:05 pm »
Yeah, an editor in the small font would be awesome ^^ I kinda have one in development, but progress is slow

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] Auto-Organize Program
« Reply #59 on: November 18, 2010, 09:07:31 pm »
i might halt my work on this and work on that ^ ;).
Truthfully it might not be to extremely difficult

In Japanese class for the next 3 days, we are watching spirited away.
Depending on the amount of light... I could try this.

Anyone know if there is some sort of command or anything that will tell you the size of a charctor?
i.e.  prgm=4  unarchive=9
I could use output with small font maybe...
« Last Edit: November 18, 2010, 09:07:54 pm by happybobjr »
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
____________________________________________________________