Search found 17 matches

by noxidderf
Thu Feb 20, 2025 5:16 am
Forum: Coding Questions
Topic: hints and a noob question answered please. about linking /embedding a file.
Replies: 4
Views: 461

Re: hints and a noob question answered please. about linking /embedding a file.

after much research mostly because I dont know enough to ask the right questions.
I assumes some here might have worked with such a thing. after all someone did the thing with lua.
I am putting here what I found. it is a longish post from 'grok' about my question. posting the link not sure if ...
by noxidderf
Wed Feb 19, 2025 8:49 pm
Forum: Bugs - IDE
Topic: [Linux] If IDE (6.04) is open, then file associations do not work
Replies: 3
Views: 680

Re: [Linux] If IDE (6.04) is open, then file associations do not work


When I click on the file, the program starts and the file opens. When I click the next file, nothing happens. If I copy IDE (purebasic) from the folder version 5.70 (and 6.02), it works as expected: the second and subsequent files are open normally

6.02 = Fine
6.03 and 6.04 are not working
6.12 ...
by noxidderf
Wed Feb 19, 2025 6:18 pm
Forum: Coding Questions
Topic: hints and a noob question answered please. about linking /embedding a file.
Replies: 4
Views: 461

Re: hints and a noob question answered please. about linking /embedding a file.



I want to add or embed or link a file with a purebasic program.

It's a topic that's been discussed many times, and you can find it with the search module.

You can use IncludeBinary.
An example among many published : https://www.purebasic.fr/english/viewtopic.php?p=593755#p593755




not ...
by noxidderf
Wed Feb 19, 2025 6:43 am
Forum: Coding Questions
Topic: hints and a noob question answered please. about linking /embedding a file.
Replies: 4
Views: 461

hints and a noob question answered please. about linking /embedding a file.

I want to add or embed or link a file with a purebasic program.
I do not know what I am doing. just looking for pointer to what i need to know.
I dont know enough to ask the right questions.
I have a javascript engine ( quickJS ) that I want to work with.
I have the project compiled from github.
I ...
by noxidderf
Mon Feb 17, 2025 8:34 am
Forum: Coding Questions
Topic: How to get a JavaScript variable on a WebViewGadget from PB procedure?
Replies: 17
Views: 3107

Re: How to get a JavaScript variable on a WebViewGadget from PB procedure?


Not exists on macOS and Linux ...
Better #MyEvent_DataReceived


EnableExplicit

Enumeration CustomEvent #PB_Event_FirstCustomValue
#MyEvent_DataReceived
EndEnumeration

; ----

Procedure AllocateString(String.s) ; Result = Pointer
Protected *mem.string = AllocateStructure(String)
If *mem ...
by noxidderf
Sat Nov 02, 2024 4:21 am
Forum: The PureBasic Editor
Topic: tiny icons in IDE 4k mon, Linux.
Replies: 4
Views: 3414

Re: tiny icons in IDE 4k mon, Linux.

it does help, i forgot to add that. I also use the gnome tweaks which give a finer control over the zoom and fonts. It does cut down on how much I can see (lines of text). Well it would have been nice to make the icons larger. i can switch back and forth depending which is aggravating me the most ...
by noxidderf
Thu Oct 31, 2024 12:03 am
Forum: Coding Questions
Topic: sorting fixed strings. not important, just curiosity
Replies: 7
Views: 1020

Re: sorting fixed strings. not important, just curiosity

got it, thanks. I needed coffee this morning.
by noxidderf
Wed Oct 30, 2024 4:03 pm
Forum: Coding Questions
Topic: sorting fixed strings. not important, just curiosity
Replies: 7
Views: 1020

Re: sorting fixed strings. not important, just curiosity

question about the example.
the length of the strings is 4 for 3 letters/symbols, is that to account for the 0 strings terminator ?
by noxidderf
Wed Oct 30, 2024 1:56 pm
Forum: Coding Questions
Topic: sorting fixed strings. not important, just curiosity
Replies: 7
Views: 1020

Re: sorting fixed strings. not important, just curiosity

I lay back after my alarm went off this morning., and thought about my question.
It is just a block of memory with the fixed string information in one long block I would guess.

Wow, so many functions. I had not run across those yet. I am blown away with all the connivance.
thanks for pointing out ...
by noxidderf
Wed Oct 30, 2024 6:26 am
Forum: Coding Questions
Topic: sorting fixed strings. not important, just curiosity
Replies: 7
Views: 1020

sorting fixed strings. not important, just curiosity

was reading the help file and i saw that "Fixed strings are not supported by the sort routine."
I am not using one at the moment but I keep thinking about it.
I searched some but I did not read anything touching on my question.

I am wondering why it is not possible ? just curiosity, not looking for ...
by noxidderf
Wed Oct 30, 2024 5:11 am
Forum: The PureBasic Editor
Topic: tiny icons in IDE 4k mon, Linux.
Replies: 4
Views: 3414

Re: tiny icons in IDE 4k mon, Linux.

thanks, for looking into it.
I would not mind spending some time on the icons.
I not artistic but i could manage.
by noxidderf
Sun Oct 27, 2024 10:57 pm
Forum: The PureBasic Editor
Topic: tiny icons in IDE 4k mon, Linux.
Replies: 4
Views: 3414

tiny icons in IDE 4k mon, Linux.

https://i.postimg.cc/bN463nw8/Screenshot-from-2024-10-27-17-46-47.png
The icons on the left are about the size of a pencil eraser on my browser window, right side, about half that. They are 4-5 times as large here in the picture.

Hello, i have a quick question about the IDE tool bar top.
The ...
by noxidderf
Sun Oct 13, 2024 2:45 am
Forum: Coding Questions
Topic: stringfield question.
Replies: 5
Views: 1053

Re: stringfield question.

thanks for thee nice graphics and the example.

if my idea works i would only need to run this once when i change the source.
how much slower is the stringfield functions suggested? just rough idea.


Feeling a little under the weather all of saterday, I just wanted to say a quick thanks.
by noxidderf
Sat Oct 12, 2024 5:58 am
Forum: Coding Questions
Topic: stringfield question.
Replies: 5
Views: 1053

stringfield question.

i have this string.

mystring = ButtonGadget(#Button_0, 20, 30, 100, 25, "Button 0")

i want to split it up.
first i use stringfield(mystring, 1,"(") and i get what i expect "ButtonGadget("

> next instruction is stringfield(mystring, 1,",") and i get this "ButtonGadget(#Button_0" <

next ...
by noxidderf
Sat Oct 12, 2024 4:42 am
Forum: Coding Questions
Topic: quick ExamineDirectory question
Replies: 9
Views: 1422

Re: quick ExamineDirectory question

i was thinking i really must have missed something. i just saw the bright blue link staring at me. I just this min. double checked and saw it. i hate over looking things. thank you.

hopefully the weather will give us a break for a few years.