Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:21 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : mmbasic 3.1 on maximite

Author Message
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 11:06pm 11 Apr 2012
Copy link to clipboard 
Print this post

hi ,

2 questions please

1.
for r = 1 to 9999
cls
next
- shows me [2J[H in the upper lefts corner

2. if i press f1 in the editor the code isnt saved on the sd
screen clear and show the cursor on upper left cursor ?



maximite using is fun .
 
shoebuckle
Senior Member

Joined: 21/01/2012
Location: Australia
Posts: 189
Posted: 11:46pm 11 Apr 2012
Copy link to clipboard 
Print this post

Item 1 happens for me too (although I don't see a use for such a routine).

[Quote]2. if i press f1 in the editor the code isnt saved on the sd
screen clear and show the cursor on upper left cursor ?
[/Quote]

F1 in the Editor doesn't save to the SD card, only to working memory. To save to SD card you must exit the Editor (F1) and SAVE "filename" at the prompt.

Cheers,
Hugh
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 04:03am 12 Apr 2012
Copy link to clipboard 
Print this post

thx shoebuckle

@cls routine : ok not usefull ,but maybe a bug or ?
 
BobDevries

Senior Member

Joined: 08/06/2011
Location: Australia
Posts: 266
Posted: 04:45am 12 Apr 2012
Copy link to clipboard 
Print this post

Plasma (and all),

the code sequence <ESC>[2J is the ANSI code for CLEAR SCREEN
The code sequence <ESC>H is the ANSI code for HOME CURSOR.

My guess is that your terminal programme (PuTTY, TeraTerm, HyperTerminal) is not set to show ANSI codes.

Regards,

Bob Devries
Dalby, QLD, Australia
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 12:06pm 12 Apr 2012
Copy link to clipboard 
Print this post

Plasma,

You can also edit a file direct from the B: drive and save it back there with the F1 key, e.g.

type: edit "autorun.bas"
........do your editing.......
press: F1

...the edited file is saved straight to the SD card.

As per the MM manual:

EDIT - Invoke the full screen editor. This can be used to edit either the program
currently loaded in memory or a file on either drive A: or B:. It can also be
used to view and edit text data files.
If EDIT is used on its own it will edit the program memory. If 'filename' is
supplied the file will be edited leaving the program memory untouched.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024