Recent posts

#1
Announcements / Re: ALIEN TEXT EDITOR
Last post by MrPlow - Yesterday at 17:12
Thanks for the feedback - still working on it and
will post soon :)
#2
Announcements / Re: ALIEN TEXT EDITOR
Last post by erico - 2024-Oct-07
Add some wireframe and it can do Escape from NY and show some Nostromus layouts :)
Green and dark green are common text editor colors on the trs80-color, even on a color TV :D

PS: the reply here is set to a very short time, I'm getting time out claims when posting...it must be those genuine girls in my location :D :D :D
#3
Announcements / Re: Happy Birthday, GLBasic!
Last post by erico - 2024-Oct-07
What? The party never ended, it is going strong than ever!
Here I have been doing a design for a Vector drawing program, very simple one, hoping to get this to "save" as 8bit basic code to run on the likes of TRS80 color and MSX. Those basics have the DRAW command, so in sum, I wanna make a "frontend" for that :)
PS:forum icons are still acting weird.


#4
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
for my app (server-client) I will change (sigh) to Js and node.js

I have a hope, I will try the latest updates  of html5 from git
#5
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
for me impassable road nothing works.  Thanks anyway
#6
GLBasic - en / Re: HTML5 improvements
Last post by Paul Smith - 2024-Oct-05
I can't seem to use strings. This won't compile 
}, url$);  or {, url_Str);
The version I was supposed to show was  }); that just opens a new tab. It does compile but just a blank page.

This code does work and will open the correct page, strange thing is the // shows as comments after the https: but compiles fine.

INLINE
        EM_ASM({
       window.open('https://www.glbasic.com', '_blank');
    });
   ENDINLINE

Hope this helps
#7
GLBasic - en / Re: HTML5 improvements
Last post by Qedo - 2024-Oct-05
Paul, but can you compile these 2 examples in html5?
stop compiling because;

"fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated."
#8
GLBasic - en / Re: HTML5 improvements
Last post by Kitty Hello - 2024-Oct-02
it's url_Str. The $ is replaced by _Str in C++.
#9
Announcements / ALIEN TEXT EDITOR
Last post by MrPlow - 2024-Oct-01
Hi
I am trying to create a retro ALIEN style MOTHER text editor...
I plan to add others to it...
War Games and others...

Just for fun for now :)

Currently my editor mode is a mainly char replace - and fills a page with spaces so that it allows user to place text anywhere without a new to tab or space to the cell location.

Just trying to think of good uses - I think a level designer and film script editor might work well in this way...
??!

Once I have a half-demo I will upload...


#10
GLBasic - en / Re: HTML5 improvements
Last post by Paul Smith - 2024-Sep-30
Not used that command, but others like NETWEBEND dont work.

I've been short on time this month and was looking into using alternative inline for NETWEBEND. I have two methods that need Ironing out. This code is from a google search. And needs formatting correctly.

    INLINE
    #include <emscripten.h>
    emscripten_run_script("window.open(\"" + url$ + "\", \"_blank\");");
    ENDINLINE

the other is

INLINE
    #include <emscripten.h>

    EM_ASM_({
        window.open(url, '_blank');  // Open the URL in a new tab
    }, url$);
   
    ENDINLINE

Not tried the first one but the second one opens a page, just not the right link.  :D
Hopefully someone smarter than me will fix this is seconds.