Jump to content



Photo
- - - - -

Regsitry Project


  • Please log in to reply
12 replies to this topic

#1 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 12 October 2004 - 01:13 AM

ok, this is a new idea ive had that involves the standard library but actually goes outside it a bit. the goal of this project is to be able to establish a searchable record of all programs on the classpad, therebye allowing for real explores and launchers, as well as the ability to call any program without knowing what folder it is in. It would also allow for a general purpose uninstaller capable of removing programs based on the info held in the registry.

best of all all a program will have to have in it to be included in the registry is:
register("(program name)")
it wont be re-registered each time because the register program has a quick way to check if it is already there. it will also return a 1 if the program is found, and a 0 if it had to register the program (so you can use it to initialize your program if needed.

I'll be making several registry related programs including a regedit and optimizer. all of these programs (and the "registry" its self) will be put in the "registry" folder.

i'll be posting more on this in the next few days.

#2 Bob Vila

Bob Vila

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 768 posts
  • Gender:Male
  • Location:USA

  • Calculators:
    FX 1.0+ : CFX-9850 GB Plus : TI-81

Posted 12 October 2004 - 08:30 PM

the classpad has a registry?

#3 Andy.Davies

Andy.Davies

    Forum Ghost

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Location:Dorset, England
  • Interests:Age: 18<br />Studying: MEng in cybernetics at Reading uni<br />Interests: Progaming (VB, VB.Net, C#, Casio Basic)<br />Computers UBBD (Using, Building, Breaking &amp; Destroying)<br />Gaming (FPS, RTS, RPG)<br />Electronics<br />Rock Music (Preferably Loud)<br />Riley's (Pool &amp; Snooker Bar)<br />Driving (Preferably fast)<br />Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 12 October 2004 - 10:00 PM

intruiging....but form crimsons post i think he might be making a registry (or maybe not, blame it on being 3am here :))

#4 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 12 October 2004 - 10:19 PM

It will soon :D

thats the purpose of this project, im adding a user registry (so far to great sucsess ;) )

so, for instance to make CasPaint use the registry:

(if i do it:)
add the code register("CASPAINT"), if you put the program exactly as it is featured in the folder then it will be launchable from an explorer. so, "CasPaint" would not work as it is not capitalize correctly.

(if a user does it:)
Run program REGEDIT(), select option 2 (Add key), enter the program name (CASPAINT), enter the location/folder (CasPaint), enter any programs that should be uninstalled with CasPaint (optional, can be left blank), enter any extra data the program will require (optional, can be any amount of data, it will keep prompting untill you enter nothing).

as you can see its much simpler for a program to register itself, rather than a user doing it manually, this is partially on purpose because I dont want the average user screwing with the registry ;) , however, you will have noticed that the user has more options when registering a program, a program can also access these with modkey(). an example of modkey() is this:

modkey("CASPAINT","CasPaint","(dependant programs)",{array of extra data})

modkey acts the same as register, but it takes longer to execute and the data will be changed each time. a proper way to use modkey then would be:

register("CASPAINT")
if RTN=0
Then
modkey("CASPAINT","CasPaint","(dependant programs)",{array of extra data})
IfEnd

this would only execute modkey once, you could also input anything you need to happen the first time the program runs in that If statement.

using the registry like this will allow for these things:

1: Explorers
2: a global uninstaller
3: an organized file system
4: calling programs without knowing their folder
5: File system checkups/maintnence (will tell you what is missing)
6: and more i havent thought of yet ;)

im also planning on having a "revert" feature built into REGEDIT, this will use one of the classpad's bugs to cause a fatal error and revert to the last safe data, effectively going back to the last time you turned off your calc or made an e-activity, handy if you screw something up bigtime ;)

let me reimphasize the simplicity of making programs be registered, all you have to do is put in register("Prog Name") near the top of a program and it will be registered, everything else is optional.

#5 Bob Vila

Bob Vila

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 768 posts
  • Gender:Male
  • Location:USA

  • Calculators:
    FX 1.0+ : CFX-9850 GB Plus : TI-81

Posted 12 October 2004 - 10:35 PM

wow, thats pretty cool. too bad i dont have a classpad

#6 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 12 October 2004 - 10:36 PM

steal qwerty's once he gets it back from Casio ;)

#7 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 13 October 2004 - 07:19 PM

ok, all planned features of the registry and REGEDIT are done :)
ive also updated the standard library a bit with some new functions both related to the registry and unrelated.

REGEDIT and the new stdlib will be on my website sometime tonight after i do a bit more testing ;)

#8 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1554 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Cinema, Programming, Music and a lot of thing...

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 13 October 2004 - 08:59 PM

REGEDIT and the new stdlib will be on my website sometime tonight after i do a bit more testing


What about the File Sharing? ;)

#9 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 13 October 2004 - 10:27 PM

sure, i'll put the whole thing up :)

#10 qwerty841

qwerty841

    Casio Freak

  • Members
  • PipPipPipPip
  • 198 posts
  • Gender:Male
  • Location:vernal

  • Calculators:
    ClassPad 300,TI 83 PSE,TI Voyage 200,Windows Calculator

Posted 13 October 2004 - 10:46 PM

wishing i had my cp right now :banghead: :rant: :profanity: :angry: :!:

#11 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 13 October 2004 - 11:13 PM

dont feel to bad :)
you can always play with in on your manager while you wait :)

*wonders what the system regression will do on the manager...*

#12 Bob Vila

Bob Vila

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 768 posts
  • Gender:Male
  • Location:USA

  • Calculators:
    FX 1.0+ : CFX-9850 GB Plus : TI-81

Posted 14 October 2004 - 12:56 AM

which reminds me qwerty, can i borrow your manager again?
(btw, i'll try to bring mandrake tomorrow :))

#13 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 14 October 2004 - 02:11 AM

dont feel to bad :)
you can always play with in on your manager while you wait :)

*wonders what the system regression will do on the manager...*

<{POST_SNAPBACK}>

LOL, the system regression crashes the full version of the classpad manager :roflol:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users