Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: A beginner (almost), woes aplenty Post ReplyPost New Topic
<< Prev Page of 3
Author
Message << Prev Topic | Next Topic >>
plover
Senior Member
Senior Member


Joined: 18 April 2013
Location: Australia
Online Status: Offline
Posts: 229
Posted: 28 July 2018 at 11:36pm | IP Logged Quote plover

JohnS
Thank you for posting, I did wonder about the possibility that another shell was opening and closing because I thought a noticed a flicker for perhaps quarter second as if the console gave a shiver.

I am givin up for the time being on trying to change the status line colours when using the 'edit' mode. My last attempt was to follow the line

Quote:
In windows using this:
Control Panel => System => Advanced system settings => Environment Variables, when here added a new two line entry

Name: MMCOLOURS
Value: 0,7,6,4,2,0,14


This did not seem to have any effect until about an hour later a couple of times the konsole show yellow status line text and grey background.

"How hard can it be?? well I am finding out for me it is overwhelming

To get away from those variables I decided to have a play with the character set and work the 'edit' window. Where the F2 and F4 to run and return to edit if an error shows up. That is really nice and simple. Also figured out the copy and paste using F5.

I am attaching a little program that may or may not present two problems. The first one is the programs stops unexpected the second will change colouring of the 'edit' on my system, the syntax highlighting goes wrong, and decapitates the program. Best I stop playing for the night I will end up walking the ceiling upside down.



2018-07-28_232943_p9-char-set.zip





Back to Top View plover's Profile Search for other posts by plover
 
plover
Senior Member
Senior Member


Joined: 18 April 2013
Location: Australia
Online Status: Offline
Posts: 229
Posted: 03 August 2018 at 1:02am | IP Logged Quote plover

I just played around with my file from previous post, discovered that

Print chr$(7)

Must be a LF well it works like that and also squaks at me, reminding me of morse code.

Does anybody know if there is a morse code generator of form, in the "fruitshed", when I have slept I will remember what the real name it is I am after.

2018-08-03_010152_p9-char-set-2.zip


Edited by plover on 03 August 2018 at 1:04am
Back to Top View plover's Profile Search for other posts by plover
 
lizby
Senior Member
Senior Member


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 191
Posted: 03 August 2018 at 1:15am | IP Logged Quote lizby

chr$(7) is the Ascii BELL character--that's why it squawks at you. Per the manual, "PRINT" without ";" at the end sends carriage return / newline.


Edited by lizby on 03 August 2018 at 1:16am
Back to Top View lizby's Profile Search for other posts by lizby
 
Boppa
Guru
Guru


Joined: 08 November 2016
Location: Australia
Online Status: Offline
Posts: 554
Posted: 03 August 2018 at 10:20am | IP Logged Quote Boppa

https://www.asciitable.com/ for a full listing of ascii codes
Back to Top View Boppa's Profile Search for other posts by Boppa
 
plover
Senior Member
Senior Member


Joined: 18 April 2013
Location: Australia
Online Status: Offline
Posts: 229
Posted: 03 August 2018 at 7:28pm | IP Logged Quote plover

lizby
I had an inkling that I was wrong with chr$(7) but since it seemed to give me the NL (New Line) I was looking for I ignored my sixth sense banging me on the head drawing my attention to the number should be over 10.

Well I had to go and check a bit better and recognised chr$(13) which I have put through the test in the little file attached.

Boppa
The ASCII link came in handy for looking up the values below 33, I think I will make a copy and put in the directory that I work in with MMBasic for DOS.

2018-08-03_192758_p9-char-set-3.zip
Back to Top View plover's Profile Search for other posts by plover
 


If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Search the forums using Google.
<< Prev Page of 3
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1094 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.11