micro(A)v11 - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: QBJS, BAM, and Other BASICs (https://qb64phoenix.com/forum/forumdisplay.php?fid=50) +--- Thread: micro(A)v11 (/showthread.php?tid=1823) |
micro(A)v11 - aurel - 07-07-2023 I saw here post about other basic-s so i will post about my experiment if is not problem? anyone interested to try ..go to : https://sourceforge.net/projects/micro-a-interpreter/ i have lexer version written in QB64 ..so maybe i can try to make microQ RE: mAv11 - mnrvovrfc - 07-07-2023 Hi Aurel. Thanks for this program. But how do you get along without keystroke shortcuts in this editor? :O Some people are very used to pressing [CTRL][O] to open a source-code file. In this editor it inserts the CHR$(15) but that should have been the "sun" in CP437... Also for example, the find-and-replace dialog could use a "Cancel" button instead of causing the user to click the "X" on the top-right corner. If the compiler is not ready yet then it might make better sense to disable the toolbar icon, so that somebody accidentally doesn't click on it and becomes annoyed by the dialog. Many of the programs are good, but some people would consider it rude there is no "Press [ESC] to quit" or something else where one doesn't have to use the mouse. It's most obvious from the "dragon" example (cool graphics!) the interpreter at least needs to do like QB64 giving a prompt "Press any key to exit" and then close the graphic window. It's a bit unsettling the interpreter has to create a graphics window even to use PRINT, but it works. The prime number example had a small problem with display on my computer. Maybe it works differently on Windows. Will have to test this on Windows when I could get off my arse for it. So far tested it on Spiral Linux KDE (Debian clone with "Bullseye" base which is now "oldstable"). This will need some time for me to get used to, it's different enough from BASIC. RE: mAv11 - mnrvovrfc - 07-07-2023 One thing that I noticed belatedly, for those of you who haven't tried the editor yet. Make backup copies of your source code to use with this editor! It seems whether or not the file is modified, it is saved to disk when it's closed. It's not known how good the "undo" feature is of this editor. Therefore if you extensively changed one of the programs you had on disk, it doesn't work and then you decided to go back to what you had when you started... and you don't have the backup for it... then, well, that's what backups are for. In the least, as soon as a source code file is loaded into this editor, use "save as" command giving it a different name and keep going. RE: mAv11 - aurel - 07-07-2023 Hi @mnrvovrfc Thanks for trying..and on Linux through Wine ..i guess.. Spiral Linux KDE - never heard so you are brave You paid to much attention to AurelEdit(microA) version yes may look weird but this editor is mouse centric. And yes files are auto-saved each time you click on RUN button undo work well so far for me . Prime number program is same on Windows..it is a glitch with decimal numbers with intermediate results..blame on me You said ...graphic window ..yes it is only one present in micro(A) in fact it is ordinary GUI window with double-buffering GDI graphic. thanks ! RE: mAv11 - aurel - 07-10-2023 I think i smell robot this is updated example with robot and hero but without plants just to test scanning all 360 cells. Code: (Select All) 'gdi demo aka CrazyRobot RE: mAv11 - aurel - 07-10-2023 Here is better prime numbers where fraction results are stored in array: Code: (Select All) 'prime numbers using fraction() - micro(A) by Aurel RE: micro(A)v11 - aurel - 07-12-2023 fixing more examples ..here is one called Guess_My_Number still need some tweak.. Code: (Select All) 'guess my number ? micro(A) RE: micro(A)v11 - aurel - 07-13-2023 just tiny observation on @mnrvovrfc complain about key-short for example like this one: Some keybindings are: ---------------------------------------------------------------------------------- Ctrl+C/Ctrl+Ins: copy. Ctrl+V/Shift+Ins: paste. Ctrl+X/Shift+Del: cut. Ctrl+Z, Ctrl+Y: undo/redo. Tab, Shift+Tab: indent/unindent. Ctrl+E: toggle comment. Ctrl+A: select all. Shift+Arrow: extend selection. Ctrl+F: find. Ctrl+R: replace. Ctrl+G: go to line. Ctrl+Back/Alt+Back, Ctrl+Del: erase one word left/right. Ctrl+Left/Alt+Left, Ctrl+Right/Alt+Right: move one word left/right. Ctrl+Shift+Up/Alt+Shift+Up, Ctrl+Shift+Down/Alt+Shift+Down: move selected lines up/down. Ctrl+N: create new document. Ctrl+O: "open file" dialog. Ctrl+S: save document. Ctrl+W: close focused document. F6, Shift+F6: next/previous document (in MRU order). Ctrl+Q/Alt+X: exit the application. -------------------------------------------------------------------------------- MY ANSWER to this things is : Really ..who have time and energy to learn and remeber all this things. Logically it is easier to use toolbar buttons and menu for task . RE: micro(A)v11 - mnrvovrfc - 07-13-2023 You are correct. But remember there are other programmers that hate to use the mouse if there's a keystroke shortcut available. The QB64 IDE is very much keyboard oriented. Only the help system and the ASCII table require doing a lot with the mouse. It could be convenient, but not while trying to type in hundreds of lines of source code. Another thing is somebody finding it hard to tell one icon from another, especially those for file save, file load and stuff like that. Or wants to know why there is build, make, run and thinks to himself/herself, "Gee whiz, why can't they just give me a big rounded run button?" Press [F5] in QBasic was the easiest thing to remember, before icons appeared on the same screen as menus, of what used to be a text-mode application. We're both far removed from the masters of "Vim". They could call themselves "golfers" but I digress, the only great golfer I have ever seen was Ricky Fowler, and otherwise one of the Korean ladies that won LGPA a few years ago. Those guys don't want to see clickable icons anywhere near their Linux terminals. RE: micro(A)v11 - aurel - 07-15-2023 well i must say that i never do any programming in QBasic yes ..i never use DOS , my first OS was win98 heh also i never use Vim ..ouch |