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 : LOAD FONT problems....
Author | Message | ||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9066 |
Hi all. Trying to use the LOAD FONT command on an E100 board, but I keep getting an odd error: Expected a string? I also tried DIM'ing F$ and making F$="FONT7.SYS", and putting that in the command, but get the same result back - expected a string. What gives? When this error comes up, it also wipes out F$. So, F$="" and confirmed with ? LEN(F$), which returns zero. F$="FONT7.SYS" prior to the LOAD FONT command, so the LOAD FONT command itself is wiping F$ as part of whatever it is doing. Can anyone else please test the LOAD FONT command to see if they are getting the same issues? Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5911 |
From the changelog For V5.2 Removed the LOAD FONT command (DEFINEFONT achieves the same outcome). VK7JH MMedit MMBasic Help |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9066 |
Damn. OK thanks. This needs removing from the manual then......... Smoke makes things work. When the smoke gets out, it stops! |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
Sorry about that (it is fixed in the beta manual). Geoff Geoff Graham - http://geoffg.net |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9066 |
No worries. I have copied the BigFont.BAS C-code thing into the bottom of the code and used DEFINEFONT #7, and it is working fine. I still have plenty of space on the MM+, so I will just leave it there along with the only other C-function as ASCII, but if I get squeezed for space, I will move both to the library. Smoke makes things work. When the smoke gets out, it stops! |
||||
Print this page |