Search found 329 matches

by useful
Sun Jun 08, 2025 12:55 pm
Forum: Tricks 'n' Tips
Topic: scintilla doc as correct xml
Replies: 1
Views: 1414

Re: scintilla doc as correct xml

I changed the code in the first message.
There are only 4 bugs left in the latest release on May 29, 2025, but they are still there.
If someone is communicating with the scintilla developers, let them know about these little things and ask them to check the possibilities of working with XML ...
by useful
Fri May 23, 2025 3:15 pm
Forum: General Discussion
Topic: Can't access this forum outside EU
Replies: 32
Views: 1990

Re: Can't access this forum outside EU

AZJIO wrote: Thu May 22, 2025 8:02 pm ... I log in via VPN (Browsec). ...
I am using the tor browser which has To Google Translate installed.
p.s. To translate the page completely, Google Translate does not require a login to your account.
by useful
Sat Jan 18, 2025 9:43 am
Forum: Announcement
Topic: PureBasic 6.20 is out !
Replies: 148
Views: 76675

Re: PureBasic 6.20 beta 3 is out !

Is webview available in qt?
Or just gtk3?
by useful
Wed Nov 13, 2024 2:09 pm
Forum: Tricks 'n' Tips
Topic: scintilla doc as correct xml
Replies: 1
Views: 1414

scintilla doc as correct xml

There are only 4 minor errors that prevent working with scidok as xml.


EnableExplicit

If ReceiveHTTPFile("https://scintilla.org/ScintillaDoc.html", "SciDoc0.xml")

Define BufStr.s = ""
Define NS = 0

ReadFile (0, "SciDoc0.xml", #PB_UTF8)
CreateFile (1, "SciDoc1.xml", #PB_UTF8)

While Eof ...
by useful
Fri Oct 25, 2024 2:26 pm
Forum: Linux
Topic: Linux console only app
Replies: 5
Views: 3692

Re: Linux console only app

Linux
PureBasic free for Linux Debian 12 (x86)
PureBasic free for Linux Ubuntu 18.04 (x64)
PureBasic free for Linux Ubuntu 20.04 or 22.04 (x64)
PureBasic free for Linux Ubuntu 24.04 (x64)

In each of these lines, you need to add the glibc version

For code usage outside of the ubuntu/debian ...
by useful
Wed Oct 23, 2024 3:35 pm
Forum: Off Topic
Topic: PB vs C
Replies: 66
Views: 16666

Re: PB vs C

EnableExplicit
Global x.l
Global y.i
!unsigned int g_x;
!unsigned long long g_y;
x = 2147483647 + 1 ; max signed + 1
Debug x
y = 9223372036854775807 + 1 ; max signed + 1
Debug y ; UuuuPpppSsss -9223372036854775808
;but
Debug y - 9223372036854775807 ; 1
;!!!
y = 9223372036854775807 + 256 ; max ...
by useful
Wed Oct 23, 2024 7:35 am
Forum: Feature Requests and Wishlists
Topic: This program makes use of the following components
Replies: 0
Views: 1313

This program makes use of the following components

https://www.purebasic.com/documentation/reference/license_application.html
It starts with the phrase:
This program makes use of the following components:

I would also like to see the exact versions of components and links to sources in the list.

p.s. And add links to licenses, such as
https://www ...
by useful
Wed Oct 16, 2024 12:44 pm
Forum: Assembly and C Programming in PureBasic
Topic: how can I move a C pointer +1
Replies: 8
Views: 11024

Re: how can I move a C pointer +1





...
*ptr.unicode = @x
...



Unfortunately, pointers in Purebasic do not have type.

They are always void

Therefore, additional effort is needed in the form of functions: peek[type], poke[type]
https://www.purebasic.com/documentation/memory/index.html

p.s. Sometimes purebasic behaves ...
by useful
Wed Oct 16, 2024 9:26 am
Forum: Assembly and C Programming in PureBasic
Topic: how can I move a C pointer +1
Replies: 8
Views: 11024

Re: how can I move a C pointer +1



...
*ptr.unicode = @x
...



Unfortunately, pointers in Purebasic do not have type.

They are always void

Therefore, additional effort is needed in the form of functions: peek[type], poke[type]
https://www.purebasic.com/documentation/memory/index.html

p.s. Sometimes purebasic behaves like ...
by useful
Mon Oct 14, 2024 4:02 pm
Forum: Coding Questions
Topic: /CREATERESIDENT
Replies: 4
Views: 1372

Re: /CREATERESIDENT

I have already found out everything for myself and pointed out above that there is an error in the documentation. Well, or the documentation is correct (as intended), but not implemented correctly. :D
by useful
Sat Oct 12, 2024 3:28 pm
Forum: Coding Questions
Topic: quick ExamineDirectory question
Replies: 9
Views: 1406

Re: quick ExamineDirectory question

Walk_Dir RecursivelyYes or RecursivelyNo
viewtopic.php?p=504824#p504824
by useful
Sat Oct 12, 2024 6:03 am
Forum: Coding Questions
Topic: /CREATERESIDENT
Replies: 4
Views: 1372

Re: /CREATERESIDENT

I answer myself.

For example 

OnOff.pb

Code: Select all

#ON=1
#OFF=0
t. e. error in the documentation and the key /IGNORERESIDENT REQUIRED!

... pbcompiler OnOff.pb /IGNORERESIDENT OnOff.res /RESIDENT OnOff.res /QUIET
by useful
Sat Oct 12, 2024 5:43 am
Forum: Coding Questions
Topic: /CREATERESIDENT
Replies: 4
Views: 1372

/CREATERESIDENT

https://www.purebasic.com/documentation/reference/residents.html

Residents are precompiled files which are loaded when the compiler starts. They can be found in the 'residents' folder of the PureBasic installation path. A resident file must have the extension '.res' and can contain the following ...
by useful
Tue Oct 08, 2024 1:36 pm
Forum: Off Topic
Topic: What's your favorite computer game of all time?
Replies: 50
Views: 10615

Re: What's your favorite computer game of all time?

https://en.wikipedia.org/wiki/Tetris
I haven't seen it on Electronica-60, but I've played it on Electronica-85 several times.
And of course digger.
https://www.futrega.org/digger/
Participated in time trial competitions. How long will someone actually last blindly on an unadapted XT version ...