Jump to content



Photo
* * * * * 3 votes

C.Basic - International Release

Casio Basic C.Basic

  • Please log in to reply
69 replies to this topic

#41 frankmar98

frankmar98

    Casio Freak

  • Moderator
  • PipPipPipPip
  • 109 posts
  • Gender:Male
  • Location:Spain
  • Interests:Science, programming

  • Calculators:
    CFX-9970G
    fx-9860G SD
    HP Prime
    TI-84+CE-T TI-83+
    fx-9750GII SH4-A
    CP-300 fx-4800p
    fx-3650pII PB-100
    fx-991SP X fx-991ES plus

Posted 19 May 2017 - 08:14 AM

Thanks, sentaro21, I'll try it after the final exams.



#42 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 27 May 2017 - 10:54 AM

Hi,
 
Some new bugs was found, :banghead:
Here is updated version. :)  
 
v1.53beta 2017.5.27
-Fixed StrRight bugs
 (example) StrRight("12345",0)
 It was right to become the null string, but became "5".
-Fixed acos bugs for list calc.
-Fixed Graph Y=Yn bugs.
-Fixed text conversion bugs when double quotes(") was escaped by character string.
-To be able to use the small letter for The Lbl command.


#43 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 03 June 2017 - 10:43 AM

Hi,
 
Here is new updated version. :)
 
v1.54beta 2017/06/03
-Fixed the multiplication of the Matrix. ( It always became the integer result ) :banghead:
-Fixed 2 Plot & Line bugs.
-To stored Pict file in the hidden RAM area.
-To added setting & command option to store at the same time to storage memory by Pict file preservation.
 (sample) Pict #20
  This prefix(#) is store to storage memory option.
-To displayed the progress bar at the conversion from text file.
 
 
I ported Toritori from Planet-Casio. :D
 
 
Because I am stranded with the sixth side, the later operation check is not done. :bow:
 
The advantage of C.Basic can reduce the power consumption at Getkey->Getkey2.
It becomes the about the same consumption with the idle. :D
 

Edited by sentaro21, 03 June 2017 - 11:13 AM.


#44 frankmar98

frankmar98

    Casio Freak

  • Moderator
  • PipPipPipPip
  • 109 posts
  • Gender:Male
  • Location:Spain
  • Interests:Science, programming

  • Calculators:
    CFX-9970G
    fx-9860G SD
    HP Prime
    TI-84+CE-T TI-83+
    fx-9750GII SH4-A
    CP-300 fx-4800p
    fx-3650pII PB-100
    fx-991SP X fx-991ES plus

Posted 05 June 2017 - 10:54 AM

Awesome!



#45 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 05 June 2017 - 02:31 PM

Thanks always frankmar98 :D



#46 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 11 June 2017 - 11:39 AM

Hi,
 
Here is new updated version. :)
 
v1.55beta 2017/06/11
-Added ? command optional function.
(usage) ?([ X][,Y][,width][,"SpaceChar"][,R])
(example) "A="?()->A
 dispay "A=" then wait for input A value.  this is like "Input" by TI-Basic.
(example) "A="?(,,,,R)->A
 dispay "A=" then wait for input A value reversed display.
(example) "A="?(,,8,,R)->A
 dispay "A=" then wait for input A value only 8 digits reversed display.
(example) ?(3,4,5,">")A
 dispay "A=" then wait for input A value at(X=3,Y=4) only 5 digits and the blank is made up in ">".
(example) ?(3,4,5,,R)A
 dispay "A=" then wait for input A value at(X=3,Y=4) only 5 digits reversed display.
 
-Fixed AxesOn bugs.
 
-Fixed _PixelTest bug. (updated)

Edited by sentaro21, 12 June 2017 - 12:04 PM.


#47 Viliami

Viliami

    Casio Addict

  • Moderator
  • PipPipPip
  • 89 posts
  • Gender:Male
  • Location:New Zealand
  • Interests:C++ - OpenGL,SDL
    Python - Pygame
    Java - SFML
    C - Casio SDK

  • Calculators:
    FX-9750 GII upgraded to FX-9860 GII

Posted 25 June 2017 - 06:19 AM

Nice, this is a really cool project



#48 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 28 June 2017 - 12:08 PM

Can you add a way to stop the screen from updating completely? The setting "RefreshCtl DD: All 128/128" still makes it flicker every second, and I'd like to turn it off completely.



#49 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 30 June 2017 - 11:17 AM

Nice, this is a really cool project

 

Thanks very much!! :D

 

 

Can you add a way to stop the screen from updating completely? The setting "RefreshCtl DD: All 128/128" still makes it flicker every second, and I'd like to turn it off completely.

 
Thanks for the version up idea. :D
 
When add [:] after a command, it becomes the no refresh drawing in the past version.
 
By this updating,It becomes the no drawing when set 0/128 in RefreshTime.(both setup and command)
 
 
Here is new updated version. :)
 
-Added the setting that no updating screen by setting 0 to the RefrshTime. 
 You can use it by setup and the command.
(example) RefrshCtrl 2
 RefrshTime 0
 The text and graphics command do not update a screen.
 
-Added the TicksWait command that waited by 1/128s ticks.
 (The TicksWait command connects Ticks and Wait command. and changed part of key assignment.)
(example) TicksWait 128
 Wait 1 second.
(example) TicksWait -128
 Wait for 1 second from the last TicksWait command run.
 When it has been already over 1 second, to the next processing without waiting.
(example) TicksWait -4
 Wait for 4/128 second from the last TicksWait command run.
 You can make 32fps of loops just to use one this command in the loop.


#50 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 30 June 2017 - 01:27 PM

 

Thanks very much!! :D

 

 

 
Thanks for the version up idea. :D
 
When add [:] after a command, it becomes the no refresh drawing in the past version.
 
By this updating,It becomes the no drawing when set 0/128 in RefreshTime.(both setup and command)
 
 
Here is new updated version. :)
 
-Added the setting that no updating screen by setting 0 to the RefrshTime. 
 You can use it by setup and the command.
(example) RefrshCtrl 2
 RefrshTime 0
 The text and graphics command do not update a screen.
 
-Added the TicksWait command that waited by 1/128s ticks.
 (The TicksWait command connects Ticks and Wait command. and changed part of key assignment.)
(example) TicksWait 128
 Wait 1 second.
(example) TicksWait -128
 Wait for 1 second from the last TicksWait command run.
 When it has been already over 1 second, to the next processing without waiting.
(example) TicksWait -4
 Wait for 4/128 second from the last TicksWait command run.
 You can make 32fps of loops just to use one this command in the loop.

 

Thank you so much! You gave me a lot more possibilities :D

Keep up the amazing work! Also, is there any way to directly contact you?



#51 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 30 June 2017 - 02:20 PM

Suggestions:
- Fix the Nesting Error when using a lot of labels

- Add more than 26 lists

- Add a setting to disable the header when editing code (example: "==PROGRAM1== [DBL#1] " at the top)

- Add a way to create folders and to move programs into/out of folders

- Add a way to delete multiple characters with: Shift+8 (clip) and then DEL to remove everything inside the selection

- Add search and replace

- Easier polygon command (example: _Polygon X,Y,Radius,Sides,Color   ->   _Polygon 63,31,20,6,1   to make a hexagon)

- Invert screen command (already works with _Rectangle 0,0,127,63,2 but a direct invert command would still be nice :P )

- Auto save without a popup (Sometimes when I try to exit a program fast, I press EXIT twice and then it deletes all my changes)

- Remove the need of "Then" in If-Statements

 

That's it for now ^^ I don't expect everything to be added, just a few suggestions that would be nice :)



#52 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 30 June 2017 - 03:46 PM

Thank you so much! You gave me a lot more possibilities :D

Keep up the amazing work! Also, is there any way to directly contact you?

 
Thanks!
I feel really blessed to be a developer. :lol:
 
As for the direct communication method, E-Mail and personal messenger of this UCF is possible. :)
 

 

Suggestions:
- Fix the Nesting Error when using a lot of labels

- Add more than 26 lists

- Add a setting to disable the header when editing code (example: "==PROGRAM1== [DBL#1] " at the top)

- Add a way to create folders and to move programs into/out of folders

- Add a way to delete multiple characters with: Shift+8 (clip) and then DEL to remove everything inside the selection

- Add search and replace

- Easier polygon command (example: _Polygon X,Y,Radius,Sides,Color   ->   _Polygon 63,31,20,6,1   to make a hexagon)

- Invert screen command (already works with _Rectangle 0,0,127,63,2 but a direct invert command would still be nice :P )

- Auto save without a popup (Sometimes when I try to exit a program fast, I press EXIT twice and then it deletes all my changes)

- Remove the need of "Then" in If-Statements

 

That's it for now ^^ I don't expect everything to be added, just a few suggestions that would be nice :)

 

Thanks for new suggestions. :D
All may not be made immediately, but I will think to add them as much as possible. :)


#53 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 30 June 2017 - 04:19 PM

I just got a suggestion that I forgot to put in >.< Sorry ^^"

How about different text sizes in the editor? Would be really useful to display more code on just one screen

 

Also, where is the Tickswait command in the Casio Basic command mode?


Edited by Emex, 30 June 2017 - 04:22 PM.


#54 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 01 July 2017 - 03:36 AM

I just got a suggestion that I forgot to put in >.< Sorry ^^"

How about different text sizes in the editor? Would be really useful to display more code on just one screen

 

Also, where is the Tickswait command in the Casio Basic command mode?

 

 

A request in the use is the most useful on development. :D
 
The editor in the mini-font is a good plan.
I'm considering implementing it. :)
 
"TicksWait" command is "Ticks"+"Wait"
To input by Casio Basic command mode,
:VARS:  :F3:  :F1:  :F2:


#55 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 01 July 2017 - 03:36 AM

 

A request in the use is the most useful on development. :D
 
The editor in the mini-font is a good plan.
I'm considering implementing it. :)
 
"TicksWait" command is "Ticks"+"Wait"
To input by Casio Basic command mode,
:VARS:  :F3:  :F1:  :F2:

 

Oh, I didn't realize that I had to put them together, thanks! :)



#56 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 01 July 2017 - 04:06 AM

New requests:

  • Support for imaginary numbers with the imaginary number commands (Imp 2+3i = 3, Rep 2+3i = 2) ({3+2i,1+5i}→List 1)
  • Drawing objects with VRAM commands( _Rectangle, _Circle, ...) in Graph Coordinates instead of Screen Coordinates. (As an option, not replacing the coordinate system for the VRAM commands)
  • Command to convert from Screen Coordinates to Graph Coordinates. Example: ScreenCoords(X,Y,Xmin,Xmax,Ymin,Ymax), ScreenCoords(1,1,-6.3,6.3,-3.1,3.1) results in: {73,22}
  • Add a command to center strings (StrCentr(Str 1,Min,Max), StrCentr("Test",1,6) results in " Test ")
  • Add support to input Strings in the Local and Prog command. Example: Prog "Program1","Hello",1,3,"World",2,5
  • A function command, functions will have their own section in the C.Basic Addin Menu. There you can set the variables what can be given with the Local command as you would with a normal program, then you can write Function(name,arg,arg2,arg3,...). Example: Function(drawgraph,Str 1).
  • Commands to convert from Binary to Decimal, Decimal to Binary, Decimal to Hexadecimal and so on..., Hexadecimal and Decimal can be input with strings.
    Example:
    "FF"→Str 1
    Dec(Str 1)→A
    A = 255
  • This likely won't be able to be implemented, but I'll still put it in here: support for drawing 3D objects (cubes, lines, ...)
  • A button to delete all programs made in C.Basic at once
  • Longer file names

​And a problem: If you put a lot of code into just one line, it lags once that line is on screen.


Edited by Emex, 01 July 2017 - 06:11 PM.


#57 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 03 July 2017 - 01:36 AM

A few things I have done with C.Basic so far:




https://youtu.be/mZMY1QqjpGA
https://youtu.be/6st_hc2wZ4E
https://youtu.be/gazWjOhMkqg
https://youtu.be/g1X-pUX1wu4

I hope this also shows how powerful C.Basic is ^^

Edited by Emex, 03 July 2017 - 01:53 AM.

  • Emex likes this

#58 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 03 July 2017 - 03:39 AM

Thanks very much for utilizing C.Basic. :D
These are unbelievably great to work in C.Basic.
I will continue to anticipate the program & movies that you make.
 
Please wait a moment for the updated version. :bow:


#59 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 03 July 2017 - 02:45 PM

I'm too excited to wait :(

#60 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 04 July 2017 - 02:19 PM

Hi,
I implemented that I could do it immediately, :)
but, after that, please wait momentarily.
 
Here is new updated version.
http://pm.matrix.jp/...ASIC157beta.zip (bug fixed updated 2017.7.8)
 
v1.57beta       2017.7.8
-Added a setting to disable the header when editing code.
-Added a way to delete multiple characters with: Shift+8 (clip) and then DEL to remove everything inside the selection.
-Added a setting to auto save without a popup.
-Remove the need of "Then" in If-Statements
-Added "Screen" command option to invert screen. "Screen"+"R"
(example) ScreenR
 
-Added "Screen" command option to convert from Screen Coordinates to Graph Coordinates.
(usage) Screen#X,Y[,Xmin][,Xmax][,Ymin][,Ymax]
 return value to List Ans{x,y}
(example) Screen#1,1,-6.3,6.3,-3.1,3.1
 result {74,22}
 
-Added "Screen" command option to convert from Graph Coordinates to Screen Coordinates.
(usage) Screen%X,Y[,Xmin][,Xmax][,Ymin][,Ymax]
return value to List Ans{x,y}
(example) Screen%74,22,-6.3,6.3,-3.1,3.1
result {1,1}
 
-Drawing objects with VRAM commands( _Rectangle, _Circle, ...) in Graph Coordinates instead of Screen Coordinates.
  add to '#' character option to ViewWindow Coordinates.
  support ML command,
_Point
_Pixel
_PixelTest(
_Line
_Rect
_Horizontal
_Vertical
_Circle
_FillCircle
_Elips
_FillElips
_ElipsInRct
_FElipsInRct
(example) ViewWindow -6.3,6.3,0,-3.1,3.1,0
 Screen.G
 _Circle #0.5,1.2,1.2.1
 
-Added a command to center strings.
(usage) StrCenter("Strings",length[,"SpacingStrings"]) (*uodated 2017.7.8)
(example) StrCenter("Test",8)
 results in "  Test  ")
(example) StrCenter("Test",8,"*")
 results in "**Test**"
 
-Added a command to repeat string  StrChar(
(example) StrChar("ABC",5)
  results in "ABCABCABCABCABC"
 
-Added commands "Hex(" and "Bin("
(exapmle) Hex(12345)->Str 1
 result in "3039"
(example) Exp("0X"+Str 1)->A
 result in 12345
(exapmle) Hex(12345)->Str 1
 result in "11000000111001"
(example) Exp("0B"+Str 1)->A
 result in 12345
 
-Added more than 26 lists (max 52)
 
-Added create folders [MK.F]
 but,[RN.F] is a future plan.

Edited by sentaro21, 08 July 2017 - 02:28 AM.

  • Emex likes this

#61 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 11 July 2017 - 02:48 AM

I have made a new program to show off the performance of C.Basic again :)



#62 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 11 July 2017 - 01:06 PM

I have made a new program to show off the performance of C.Basic again :)

Thank you for the new interesting application program! :D
 
Fixed some bugs of the minifont editor. :)
 
v1.58beta       2017.7.14
-Added minifont editor
-Added a setting to disable debug mode.
-To be able to delete folder in file mode DEL.
-Fixed Prog command bug that cannot read from subfolder file. ( enbug 1.00beta5..)
 
 
v1.59beta       2017.7.16
-Added Replacement in editor. :)
 Replacement character string input is possible when push F2 after the search strings input.
 There are F2 to replace while confirming it and mode F4 to all replace without confirming.
-Fixed a bug that when trying to press NEW in while the cursor is on a folder, you can't create a program.
-Fixed a bug that can't input clip strings to search strings.
 

 


Edited by sentaro21, 16 July 2017 - 01:42 PM.


#63 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 25 July 2017 - 05:43 PM

 

2 demos I made, using the new colors feature in C.Basic.



#64 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 26 July 2017 - 01:52 PM

Thanks very much for your interesting idea of the functional enhancement. :D
 
Here is the new version.
 
v1.60beta       2017.7.26
-Added StrBase( command
(usage) StrBase(Number string, Current base, Expected base)
          Current base, Expected base: 2~64
 Use character { 0-9 A-Z a-z <theta><pi>}
(example) StrBase("579",15,12) -> "873"
 StrBase("100",13,10) -> "169"
 StrBase("123",16,3) -> "101210"
 StrBase("43981",10,16) -> "ABCD"
 StrBase("12A345AFZ",36,10) -> "2999794422815"
 StrBase("AZaz",62,10) -> "2520113"
 
-Fixed "Graph Y=" Line Style bugs
-Fixed that not work when _PixelTest( is top of line.
 
-Added new color (2x2 dot matrix) in MonochromeLib command.
color value: 10    11    12    13     14 (2x2 dot matrix by 1dot width)
color value: 20    21    22    23     24 (2x2 dot matrix)
                    oo    *o    *o     **      **
                    oo    oo    o*    *o      **
(example) _FillCircle 64,32,30,21
 
-Added random color in MonochromeLib command.
 (usage) <command> x,y,,,color,chance
(example) _Rectangle 0,0,127,63,0,0,4,0.5
 would will the whole screen with random pixels, pixels have a 50% chance of being on (0.5)
(example) _FillCircle #0,0,3,4,0.5
 Makes a circle with the radius 3, the circle is filled with random pixels (on/off) pixels have a 50% chance of being on (0.5)
 If the color is 4, you can set the chance
(example) _Rectangle 0,0,127,63,0,0,4,0.1
 fills the screen with pixels, the pixels have a 10% chance of being on
 
-Added width in _Line command.
(usage) _Line X1,Y1,X2,Y2,Color[,chance][,Width]
(example) _Line 0,0,127,63,1,,10


#65 Emex

Emex

    Casio Fan

  • Members
  • PipPip
  • 33 posts
  • Gender:Not Telling
  • Location:.#[Location]
  • Interests:.#[Interests]

  • Calculators:
    .#[Calculators]

Posted 26 July 2017 - 11:22 PM

Thanks for all the updates :)

Here's another thing I made in C.Basic:



#66 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 27 July 2017 - 03:18 AM

Thanks for showing new interesting possibility of C.Basic.
I'm looking forward to your C.Basic application. :D


#67 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 02 August 2017 - 03:55 PM

Here is the new updated version. :)

 
-Added a setting to more Pict & List at using hidden RAM.
You can use Pict(up to 99) & List(up to 1040).
 
-Added "List" & "Mat" replace font.(Reverse or Thick by setup)
 
-Added _Circle option.
(usage) _Circle x,y,radius,color[,chance][,width][,start_angle][,end_angle][,vertex]
(example) _Circle 64,32,20,4,0.5,3
3x3dot 50% circle
(example) _Circle 64,32,20,1,,3,0,90
to draw 3x3dot 1/4 circle
(example) _Circle 64,32,20,1,,,0,360,5
to draw pentagon ( to have an effect on setting of Draw Type )
(example) _Circle 64,32,20,1,,,20,380,5
to draw shifted pentagon
 
-Added _Test option in ML command.
(support command) _Point _Line _Rectangle _Circle _Polygon
to use function to put "_Test" before support command.
(example) _Test_Rectangle 0,0,127,63
 to return the amount of pixels that are on in that area (0,0)-(127,63)
(example) _Test_Circle 62,32,20
(example) _Test_Point 10,10,5
(example) _Test_Line 10,10,100,30
 
-Added Zoom & Rotate in ML command. ( based on Planet-Casio Ninestars expansion )
(usage) _BmpZoom &Mat , x, y, width, height, zoomwidth, zoomheight [,color][,chance]
(usage) _BmpRotate &Mat , x, y, width, height, angle(degree) [,color][,chance]
(example) _BmpZoom &Mat A, 0, 0, 20, 10, 1.5, 2.5 
(example) _BmpZoom &Mat A, 0, 0, 20, 10, %150, %250 , 4, %50
(example) _BmpRotate &Mat A, 0, 0, 20, 10, 45 
 
-Added Getkey "M" option that puts multiple pressed keys into a list
(example) GetkeyM->List 1
press EXE and F1 will result in {79,31}
 
-Added ListCmp( command that compare List to List or List to value.
(examle) ListCmp({1,2,3},{1,2,3})
return value 1
(examle) ListCmp({1,2,3},{1,3})
return value 0
(examle) ListCmp({1,2,3},{1,3,2})
return value 0
(examle) ListCmp({1,2,3},2)
return value 1
(examle) ListCmp({1,2,3},4)
return value 0
 
-SortA(,SortD( command came to be usable in formula expression.


#68 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 13 August 2017 - 10:04 AM

Thanks for many usable requests from Emex. :D
Here is new updated version.
-Added history in editor.
 To Press MENU, You can select previous 32 commands.
 and Press [LEFT][RIGHT], display it in order with much frequency.
 
-Added Matrix Dot Edit mode. ( Press OPTN key at Matrix editor screen.)
-Added Matrix Data copy to Clipboard.(C.Basic format)( Press Shift+8(CLIP) key at Matrix editor screen.)
 and Paste from Clipboard.( Press Shift+9(CLIP) key at Matrix editor screen.)
 You can edit dot data in the mat screen, and then copy the code into your programs.
 
-Added Bmp file support.(only 1 bit mono type)
 (example) BmpSave "TEST",Mat A
  save "TEST.bmp" at current folder.
 (example) BmpLoad("TEST")->Mat A
  load bmp data to Mat A
 
-Added DrawMat command that drawing Mat data.
 (usage) DrawMat Mat A[px,py], x, y, width, height [,zoomwidth][,zoomheight][,color][,chance]
 (example)  DrawMat Mat A, 0, 0, 128, 64
 (example)  DrawMat Mat A[10,5], 0, 0, 40, 30, %150, %250 , 4, %50
 
-Added Capt file load and save.
 (example) StoCapt 20
  save as "Capt" folder
 (example) RclCapt 20
  Load from current folder or "Capt" folder.
 
-reduce Pict file size.(2KB->1KB)
 
-Added StrRepl( command.
 (usage) StrRepl(String1,Find,ReplaceWith,StartAtCharPos)
 (example) StrRepl("Hello World","World","Earth") -> "Hello Earth"
 (example) StrRepl("abcabc","ab","ff",3) = "abcffc"
 (example) StrRepl("abcabc","ab","ff") = "ffcffc"
 
-Disable MENUkey at IRQ is enable.(flashing cursor etc)


#69 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 20 August 2017 - 02:23 PM

Here is new updated version. :)
-Added serial communication commands.( not compatible with genuie CasioBasic.)
 (usage) Send( data [,baudrate])
 (usage) Recv( data [,baudrate])
 (usage) Send38K data [,bytecount]
 (usage) Receive38k data [,bytecount]
 (usage) OpenComport38K[,baudrate][,transfermode]
 (usage) CloseComport38K
 [data]: Variable,Matrices,List
   data is necessary to match data type of a transfer source to a transfer destination.
 [transfermode]: 0:binary data transfer mode     1:necessary to match data type (default)
   When OpenComport38K with [transfermode:0]option, Send38K/Receive38k is binary data transfer.
 [baudrate]: 0=300, 1=600, 2=1200, 3=2400, 4=4800, 5=9600, 6=19200, 7=38400, 8=57600, 9=115200 baud
   default baudrate is 38400
 Send(/Recv( use alone.
 Send38K/Receive38k is necessary for OpenComport38K/CloseComport38K.
 
 (example) Send(A)
 (example) Recv(A)
 (example) Send(Mat A)
 (example) Recv(Mat A)
 
 (example) OpenComport38K,9,0
           Send38K List 1
           CloseComport38K
 (example) OpenComport38K,9,0
           Receive38k List 1
           CloseComport38K
 
-Added Editor line number display.
 
Please refer to the serial sample program in C.Basic_sample folder in CBASIC163beta.zip


#70 sentaro21

sentaro21

    Casio Fan

  • Members
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 09 October 2017 - 07:26 AM

Here is new updated version 1.64beta.
Thanks to Emex for many valuable request. :)
 
 
-To changed logical line number from physical line number in editor.
 
-Added Mat 1 or Mat @A syntax.
and to changed correspondence of List 1~26 and small letter Mat.
Mat a~z is List 27~52
Mat a~z is not List 1~26
List 1~26 is independent List
 
  Mat 1  instead of Mat A ( not same as List 1 )
  Mat 2  instead of Mat B ( not same as List 2 )
  Mat 3  instead of Mat C ( not same as List 3 )
  Mat 26 instead of Mat Z ( not same as List 26 )
  Mat 27 instead of Mat a ( same as List 27 )
  Mat 28 instead of Mat b ( same as List 28 )
  Mat 29 instead of Mat c ( same as List 29 )
  Mat 52 instead of Mat z ( same as List 52 )
  Mat 100  = List 100
  Mat 1000 = List 1000
 
(example) Mat 1 + Mat 2
(example) 3->A
           Mat @A = Mat C
 
to input "@" by OPTNF5
The abbreviated form of Mat @A is @A.
(example) 2->A
{5,3}->Dim @A
123->@A[ 1]
 
But the @A1 notation is not usable.
 
 
-Added set by seed for Ran#.
(usage) Ran# #seed(integer number)
(example) Ran# #12345
(example) Ran# #A
 
-Added ZoomRotate in ML command. ( based on Planet-Casio Ninestars expansion )
(usage) _BmpZoomRotate &Mat , x, y, width, height [,zoomwidth][,zoomheight][,angle(degree)][,color][,chance]
(example) _BmpZoomRotate &Mat A, 0, 0, 20, 10, 1.5, 2.5, 90
(example) _BmpZoomRotate &Mat A, 0, 0, 20, 10, %150, %250 , 15, 4, %50
 
-Added specify the range at _Hscrool and _Vscroll in ML command. ( based on Planet-Casio Ninestars expansion )
(usage) _Hscroll scroll [,x1,y1,x2,y2]
(usage) _Vscroll scroll [,x1,y1,x2,y2]
(example) _Hscroll 1,32,16,47,95
(example) _Vscroll -1,5,10,100,40






Also tagged with one or more of these keywords: Casio Basic C.Basic

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users