A quick question - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://staging.qb64phoenix.com/forumdisplay.php?fid=10) +---- Thread: A quick question (/showthread.php?tid=1167) Pages:
1
2
|
A quick question - PhilOfPerth - 11-22-2022 I'm trying to display the copyright symbol, but for chr$(184) I get a different character (a bit like a backward F). How do I place the © sign on the page? (I've tried the Alt button trick; no joy there either). By the by, both the Chr$() and Asc() Help files reference an ASCII page, which is non-existent. RE: A quick question - SMcNeill - 11-22-2022 Quick answer: You don't. (Not without changing characters.) Our 184 code is part of the old DOS box-making symbols. You'd need to _MAPUNICODE to change it to what you wanted in your program. Easy solution: Print a small c, draw a circle around it. RE: A quick question - SMcNeill - 11-22-2022 Try this, for example: Code: (Select All) f = _LoadFont("Arial.ttf", 20, "monospace") RE: A quick question - SMcNeill - 11-22-2022 (11-22-2022, 02:01 AM)PhilOfPerth Wrote: By the by, both the Chr$() and Asc() Help files reference an ASCII page, which is non-existent. Code: (Select All) ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» We've got a wiki page for the ASCII codes. They're just all inside a nice table which the SCREEN 0 IDE doesn't like so much -- which is why you'll see the above message in the help. ASCII - QB64 Phoenix Edition Wiki RE: A quick question - PhilOfPerth - 11-22-2022 Thanks Steve. The "unicode" thingo works, and I'll use that if/when I need it. I couldn't seed your message box anywhere on the Help pages, but the link to the Wiki page may prove useful. RE: A quick question - SMcNeill - 11-22-2022 In the IDE, if you open up the help to the CHR$ page (which you mentioned you have), down at the very bottom should be something like the following: Code: (Select All) See also: (Though with properly rendered ASCII characters instead of what the forum is showing for us. ) Click on the ASCII character code link and it should download the wiki page and parse it, with the top of it looking like: Code: (Select All) ASCII and Extended Codes If it doesn't show something similar, you should be able to click on HELP, in the top right corner, and then select UPDATE CURRENT PAGE. At that point, it'll download a fresh copy of the page from the wiki and parse it. It may just be that the page you currently have on your drive is blank, or corrupted, or some such. Heck, I'd suggest before going to bed, supper, or to snuggle with the wife, to just click the UPDATE ALL PAGES option and let it do its thing. It's always nice to keep up to date with our latest and greatest wiki updates! RE: A quick question - PhilOfPerth - 11-22-2022 I did as you suggested and found the ASCII page link. When I click on it I get "An error has occurred, ..." and suggestions to Update the current page or all pages. I did this (both options) but nothing has changed... I still get the error message when I click the ASCII page link. It also said the download from Wiki may have failed and corrupted the page data. The Update all pages option didn't seem to do anything - no 20 min delay - but just flashed a message briefly "updating keyboard list". RE: A quick question - RhoSigma - 11-22-2022 (11-22-2022, 05:46 AM)PhilOfPerth Wrote: I did as you suggested and found the ASCII page link. When I click on it I get "An error has occurred, ..." and suggestions to Update the current page or all pages. I did this (both options) but nothing has changed... I still get the error message when I click the ASCII page link. Hi Phil, I guess you updated your QB64 since you last time had this problem. You remember the "Http trick" you had to do (https://staging.qb64phoenix.com/showthread.php?tid=919&pid=7037#pid7037) You must do this again, go into the "internal/config.ini", look for the entry "WikiBaseAddress" and change the "https:" in that entry to "http:". After that restart QB64 and the help update should work. RE: A quick question - PhilOfPerth - 11-23-2022 (11-22-2022, 01:41 PM)RhoSigma Wrote:Yes, that was the problem! Sorry, I don't retain stuff very well I'm afraid!(11-22-2022, 05:46 AM)PhilOfPerth Wrote: I did as you suggested and found the ASCII page link. When I click on it I get "An error has occurred, ..." and suggestions to Update the current page or all pages. I did this (both options) but nothing has changed... I still get the error message when I click the ASCII page link. RE: A quick question - SpriggsySpriggs - 11-23-2022 Oftentimes, Code: (Select All) (c) |