Author Topic: BatLib Ideas/Wishlist  (Read 57886 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Wishlist
« Reply #45 on: April 05, 2011, 09:45:30 pm »
Yeah, I think in that case, Crazy is easier XD I'll see if I can, because that would be cool!

Ashbad

  • Guest
Re: BatLib Wishlist
« Reply #46 on: April 05, 2011, 10:05:41 pm »
Hmm.. Maybe string compression and decompression? :) that would actually be quite cool :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Wishlist
« Reply #47 on: April 05, 2011, 10:08:26 pm »
I have actually been meaning to add my own form of string compression and decompression. It is the same method I used in BASIC/Celtic 3 once upon a time...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Wishlist
« Reply #48 on: April 08, 2011, 06:01:15 pm »
Zeda, shouldn't this topic be merged with the 'Ideas' one?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Wishlist
« Reply #49 on: April 08, 2011, 06:25:20 pm »
Yeah, probably. At the time I was thinking Ideas was going to be more for practical ideas to bounce around whereas this topic was for me to get a feel for what people wanted, but they can probably get merged, I guess

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #50 on: April 08, 2011, 06:50:46 pm »
These topics were easy to merge, as they were both in the same board. ^-^  Yay!
How about an Input routine that's limited to only the letters A-Z? :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #51 on: April 08, 2011, 07:34:47 pm »
Hm, I might be able to accomplish that with a little time! I'll work on it!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #52 on: April 10, 2011, 05:13:40 am »
How do If's work in Recode?

Code: [Select]
If A=4
Disp "HELLO
End

Is it like that, like in Axe? Or does it require the crappy Then?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #53 on: April 10, 2011, 11:12:04 am »
No, using the If command in ReCode is like using the BASIC If command. If you have one line of code following, just do:
Code: [Select]
If A=4
Disp 0,0,HELLO
If you have multiple lines of code, then you do:
Code: [Select]
If A=4
Then
Line(0,96,0,64,2
DispGraph
Disp 0,0,HELLO
End
However, some commands can appear on the same line. Unfortunately, DispGraph, Full, log(Text(, and anything using a string of data need a newline token after them. Still, if you wanted to, you could do:
Code: [Select]
If A=3
Line(0,96,0,64,2 DispGraph
All I did there was use a space before the DispGraph command, so it is all on one line :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #54 on: April 11, 2011, 05:05:26 am »
I'd rather just use the first two samples of code.

1line    -1 if  - 0 then - 0 ends
>1 line - 1 if - 1 then - 1 end


EDIT:

Will you make dim(1) disable run indicator and "Done" message? Thanks, like DiagnosticOff in Axe.
« Last Edit: April 11, 2011, 05:17:37 am by Scout »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #55 on: April 11, 2011, 08:14:43 am »
Yes, I will add that :) In fact, I just added it and saved it :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #56 on: April 11, 2011, 08:40:31 am »
Yes, I will add that :) In fact, I just added it and saved it :)

Nice :)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #57 on: April 11, 2011, 03:44:03 pm »
Line(0,96,0,64,2
What does the 2 at the end do?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #58 on: April 11, 2011, 04:20:03 pm »
Line(0,96,0,64,2
What does the 2 at the end do?

It's the rectangle type.

You should read the ReCode readme :P

type 1 - black
type 2 - inverted
...
type 6 - borders only
...

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #59 on: April 11, 2011, 04:34:11 pm »
You should read the ReCode readme :P
I should. :P  I've been really busy recently, though, so... </lame excuse>
Yeah, I should. ;)