Thanks, sentaro21, I'll try it after the final exams.
#41
Posted 19 May 2017 - 07:14 AM
#42
Posted 27 May 2017 - 09:54 AM
#43
Posted 03 June 2017 - 09:43 AM
Edited by sentaro21, 03 June 2017 - 10:13 AM.
#44
Posted 05 June 2017 - 09:54 AM
Awesome!
#45
Posted 05 June 2017 - 01:31 PM
Thanks always frankmar98
#46
Posted 11 June 2017 - 10:39 AM
Edited by sentaro21, 12 June 2017 - 11:04 AM.
#47
Posted 25 June 2017 - 05:19 AM
Nice, this is a really cool project
#48
Posted 28 June 2017 - 11:08 AM
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
Posted 30 June 2017 - 10:17 AM
Nice, this is a really cool project
Thanks very much!!
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.
#50
Posted 30 June 2017 - 12:27 PM
Thanks very much!!
Thanks for the version up idea.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 2RefrshTime 0The 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 128Wait 1 second.(example) TicksWait -128Wait 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 -4Wait 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
Keep up the amazing work! Also, is there any way to directly contact you?
#51
Posted 30 June 2017 - 01: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:
+ (clip) and then 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 )
- Auto save without a popup (Sometimes when I try to exit a program fast, I press
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
Posted 30 June 2017 - 02:46 PM
Thank you so much! You gave me a lot more possibilities
Keep up the amazing work! Also, is there any way to directly contact you?
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:
+ (clip) and then 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 )
- Auto save without a popup (Sometimes when I try to exit a program fast, I press
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
#53
Posted 30 June 2017 - 03: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 - 03:22 PM.
#54
Posted 01 July 2017 - 02: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?
#55
Posted 01 July 2017 - 02:36 AM
A request in the use is the most useful on development.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,
Oh, I didn't realize that I had to put them together, thanks!
#56
Posted 01 July 2017 - 03: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 - 05:11 PM.
#57
Posted 03 July 2017 - 12:36 AM
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 - 12:53 AM.
- (*) likes this
#58
Posted 03 July 2017 - 02:39 AM
#59
Posted 03 July 2017 - 01:45 PM
#60
Posted 04 July 2017 - 01:19 PM
Edited by sentaro21, 08 July 2017 - 01:28 AM.
- (*) likes this
#61
Posted 11 July 2017 - 01:48 AM
I have made a new program to show off the performance of C.Basic again
#62
Posted 11 July 2017 - 12:06 PM
I have made a new program to show off the performance of C.Basic again
Edited by sentaro21, 16 July 2017 - 12:42 PM.
#63
Posted 25 July 2017 - 04:43 PM
2 demos I made, using the new colors feature in C.Basic.
#64
Posted 26 July 2017 - 12:52 PM
#65
Posted 26 July 2017 - 10:22 PM
Thanks for all the updates
Here's another thing I made in C.Basic:
#66
Posted 27 July 2017 - 02:18 AM
#67
Posted 02 August 2017 - 02:55 PM
Here is the new updated version.
#68
Posted 13 August 2017 - 09:04 AM
#69
Posted 20 August 2017 - 01:23 PM
#70
Posted 09 October 2017 - 06:26 AM
Edited by sentaro21, 30 November 2017 - 12:11 PM.
#71
Posted 28 November 2017 - 07:27 PM
Dear Krtyski,
thank you for providing C.Basic. Very cool!
I see a lot of advantages of using it. Not only because it is faster. The editor is remarkably better and I may use L and M for Lists and Matrices (which I made in my hand lettering form the first day). And that I can have programs in folders.
I have a question:
In the Casio basic the is a strong link between the program and the variables. So I may prefill variables, Lists or Matrices and start then a calculation on that. Because C.Basic runs in the second storage, I cannot see the calculators variables. At least Lists and may b matrices would be helpful. Is there a way doing this?
Thank you, Uwe.
#72
Posted 30 November 2017 - 04:44 AM
Hi piu58,
#73
Posted 30 November 2017 - 06:25 AM
Thank you for your answer. In the meantime, I experimented a lot with the compiler and I detected some other great things. Matrices of different data type, automatic local variables (if I use small letters) and a much better editor. Even line indent is possible now, the code is much better readable.
I will use it regularly.
After thinking about it, Lists are not such a large problem. I can use Matrices instead, and have the advantage of a letter instead of a number for designation.
I found an error in the program. From time to time I cannot invoke the Catalog by SH-7. I have to leaver the program and enter it again, then it works again.
Thank you for providing this!
Edited by piu58, 30 November 2017 - 07:02 AM.
#74
Posted 30 November 2017 - 02:35 PM
#75
Posted 01 December 2017 - 09:23 PM
Good evening,
I downloaded the new version yesterday. Today a had a tript with train. I thought, in the 90 mins I could experiment a bit with it and took my calculator with me.
At first I thought there would be no debugging for my 9860G (without II). But after switching it on :Great thing. Like a real compiler.
I like suing small letters for variables, because they can be read better. The small font ist great! In combination with the switched of headline one has a real large visual area.
Unfortunately, integer numbers (like %n) don't work anymore. They worked in the last version so I think it is only a small bug. In For loops they give syntax error, in normal calculation they do nothing. The tracer first steps in the % and then in the letter. I think if it would work ok, bot would be traced at once. I hope this description helps.
I experimented with bitmap matrices and wrote a quick version of Conway life. I know there comes a version with c.basic, but this does not run at my pocket computer.
The program is short, so may be somebody likes to type it in. It uses the fulls screen without the borders and need around 20 secs for a round. I left the borders free an re-used the first line for a progress indicator and the last one for a type of round counter: It sets a dot for every 10 round. Still in the train I enjoyed all the blocks, blinkers, beehives, ponds, gliders and sometimes even a spaceship (but no glider gun) which I knew form my young days.
Enjoy!
#76
Posted 02 December 2017 - 10:33 AM
Dear piu58
I'm a big fan of C.Basic. I've enjoyed C.basic from very early version with sentaro21 since 2015.
I've made Conway's Life Game with function of presetting initial bitmap pattern (cell pattern), Now I think your idea that randomly created preset pattern is very interesting.
Just for your info., there are special command for Conway's game of life such as CellSum( and DotLife(. Probably you can enjoy much faster game with those commands.
[edit 1]
In order to introduce how the "game of life" commands runs fast, I made Conway's Game of Life long time ago;
https://egadget2.web...GameOfLife.html
Preset cell patterns (15 patterns) are prepared (in LMAP1.g1m). Now I added 16th cell pattern that is your random pattern. The sub-routine program is named as LMAP1P.g1m. Also main program are also renamed to LIFE074P.g1m and LIFE084P.g1m. The suffix 'p' is from your name piu58.
By setting of "integer mode", C.Basic runs faster almost in 1.5 or double.declaration '#CBINT sets integer mode, also I needed to modify your code for integer calculation;
[edit 2]
If you downlaoded and tried running files, you may have a problem on fx-9860G, so I replaced all files. This was because of file name problem (small letter was included in their file names) and program code of LIFE084P used 1 Byte matrix which is not 100% compatible with fx-9860G. (LIFE074P was properly modified although).
I modified those files and checked with fx-CG9860GII, but to be honest I do not have 9860G, so did not check with 9860G. My friend sentaro21 checked this with his 9860G, now they are OK. I'm Sorry for this inconvenience.
Edited by Krtyski, 03 December 2017 - 11:04 AM.
#77
Posted 09 December 2017 - 07:20 AM
Good morning,
I used and enjoyed the C:Basic quite a lot. It is very good having a real programming language without a large computer.
Beside the error that I cannot use integers at all, I detected another error. In one of my programs I tried to give a runtime progress indicator in the form
Locate 1,2," "
Locate 1,2,k
The first locate is to empty the space of the new k. That is necessary if a following k is shorter.
It works the first time (k is given) and then the screen stays empty. I deleted the Locate 1,2," ", and the it works. In my case k is a For-variabel which gets always longer, so I don't need the "delete" command which prints empty string. In other cases I want to give the remaining error of a numerical recipe, which can have any length. The I have to delete.
#78
Posted 09 December 2017 - 11:34 AM
Hi piu58
Please tell me if I do not understand what exactly is your problem. But I suspect the error occurred by setting of integer mode or double mode and also using of integer or double variables.
When K is given double figure even you want to run your program in integer mode, please use '#CBDLB to access K;
'#CBDBL
K;0.1->K 'K is given
'#CBINT
[code being processed in integer mode]
'#CBDBL
Locate 1,2," "
Locate 1,2,K
'#CBINT
[code being processed in integer mode]
I hope this helps.
#79
Posted 09 December 2017 - 03:38 PM
I have two problems:
The first one: In the version before the current I could use a variable as integer with a % in front of the name:
%i=3
I
The second one:
If I try to output a number during the run, I have to use Locate. To get the located field empty, I firts print at the desired position an empty string:
Locate 1,2," "
and the the number I want
Locate 1,2,k
In the first round of my program the number of k (which was a 1) appeared at the screen. In the second round the field was cleared, but the number of k did not appear (I expected a 2). I delete the empty-string-Locate and it works (in this case, where a new k is has always equal or more ciphers than the forme one). In other cases it is necessary to empty the field.
#80
Posted 10 December 2017 - 05:43 AM
A very small program which demonstrates the Locate error. It works in Menu-log, but failed wit C:Basic (Menu-ab/c)
Also tagged with one or more of these keywords: Casio Basic C.Basic
General →
Your Projects →
Inside Casio Basic is now to be preparedStarted by Krtyski , 02 Dec 2016 Casio Basic C.Basic |
|
|
4 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users
-
Bing (1)