Thanks for the Ctrl+M tip.
I looked in the help file for Ctrl+M,
and found it under "Editing Features".
Within "Editing Features",
it has "Selecting blocks of code:",
which states...
Repeated usage of the shortcut selects further surrounding code blocks.
Thus, selecting the procedure from the ...
Search found 31 matches
- Tue Jan 14, 2025 7:57 pm
- Forum: The PureBasic Editor
- Topic: Highlight Procedure and copy to clipboard
- Replies: 3
- Views: 6403
- Tue Jan 14, 2025 12:14 am
- Forum: The PureBasic Editor
- Topic: Highlight Procedure and copy to clipboard
- Replies: 3
- Views: 6403
Highlight Procedure and copy to clipboard
PureBasic 6.10 LTS (Windows - x64)
From the Procedure Browser in the IDE,
I would like the ability to right-click on a procedure,
have the procedure highlighted,
and then copy the highlighted procedure to the clipboard.
At the present time,
I have an AutoHotKey Script that does most of this ...
From the Procedure Browser in the IDE,
I would like the ability to right-click on a procedure,
have the procedure highlighted,
and then copy the highlighted procedure to the clipboard.
At the present time,
I have an AutoHotKey Script that does most of this ...
- Wed Nov 06, 2024 3:12 am
- Forum: Off Topic
- Topic: Need help to convert a php script to javascript
- Replies: 6
- Views: 3401
- Fri Nov 17, 2023 6:28 pm
- Forum: Coding Questions
- Topic: Making an OxygenBasic compiler with PureBasic
- Replies: 11
- Views: 2218
Re: Making an OxygenBasic compiler with PureBasic
Mijikai, it does indeed work.
Many Thanks!
Joe
Many Thanks!
Joe
- Fri Nov 17, 2023 5:35 pm
- Forum: Coding Questions
- Topic: Making an OxygenBasic compiler with PureBasic
- Replies: 11
- Views: 2218
Re: Making an OxygenBasic compiler with PureBasic
Thankyou all for your code examples on how to use OxygenBasic with PureBasic.
I'm still learning about how it works.
In reference to http://forum.it-berater.org/index.php/topic,4638.msg17963.html#msg17963 it explains about sharing variables directly between a PowerBasic host program and ...
I'm still learning about how it works.
In reference to http://forum.it-berater.org/index.php/topic,4638.msg17963.html#msg17963 it explains about sharing variables directly between a PowerBasic host program and ...
- Wed Nov 15, 2023 11:23 pm
- Forum: Coding Questions
- Topic: Making an OxygenBasic compiler with PureBasic
- Replies: 11
- Views: 2218
Re: Making an OxygenBasic compiler with PureBasic
Olli,
it returns an error;
Joe
it returns an error;
Code: Select all
[17:20:37] Waiting for executable to start...
[17:20:37] Executable type: Windows - x64 (64bit, Unicode)
[17:20:37] Executable started.
[17:20:37] [ERROR] test.pb (Line: 5)
[17:20:37] [ERROR] Invalid memory access. (read error at address 39723008)
- Wed Nov 15, 2023 8:44 pm
- Forum: Coding Questions
- Topic: Making an OxygenBasic compiler with PureBasic
- Replies: 11
- Views: 2218
Making an OxygenBasic compiler with PureBasic
I would like to use the Oxygen64.dll with PureBasic 6.02 LTS (Windows - x64)
A search of this forum for OxygenBasic did return some hits, but nothing that would help me.
This thread from 2012 says it has been done;
Ref: https://www.purebasic.fr/english/viewtopic.php?p=389922#p389922
The ...
A search of this forum for OxygenBasic did return some hits, but nothing that would help me.
This thread from 2012 says it has been done;
Ref: https://www.purebasic.fr/english/viewtopic.php?p=389922#p389922
The ...
- Sat Sep 30, 2023 7:57 pm
- Forum: Coding Questions
- Topic: Using External .LIB does not compile with C Backend
- Replies: 13
- Views: 1621
Using External .LIB does not compile with C Backend
As discussed in the thread viewtopic.php?p=608204#p608204
The C backend does not like the decorated name from TakeCmd.lib (?Command@@YAHPEB_WH@Z)
Windows 10 [Version 10.0.19045.3448] 22H2
PureBasic 6.02 LTS (Windows - x64)
Joe
The C backend does not like the decorated name from TakeCmd.lib (?Command@@YAHPEB_WH@Z)
Windows 10 [Version 10.0.19045.3448] 22H2
PureBasic 6.02 LTS (Windows - x64)
Joe
- Fri Sep 29, 2023 3:57 pm
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
Re: External .LIB compiles with ASM Backend, but not C Backend
yuki,
thankyou for taking the time to produce this source code,
which is an alternate method of plugin coding for Take Command Console using PureBasic.
I tried your code, and it works as expected.
Questions.
Using your code, I no longer require the use of;
ImportC "takecmd.lib"
which means that ...
thankyou for taking the time to produce this source code,
which is an alternate method of plugin coding for Take Command Console using PureBasic.
I tried your code, and it works as expected.
Questions.
Using your code, I no longer require the use of;
ImportC "takecmd.lib"
which means that ...
- Thu Sep 28, 2023 6:27 pm
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
Re: External .LIB compiles with ASM Backend, but not C Backend
Thankyou for that Yuki.
Unfortunately, that will not work.
I did try your method, though, just to confirm.
I use PureBasic to create plugins for Take Command Console,
Ref: https://jpsoft.com/all-downloads/tcc-plugins.html,
which means I cannot LoadLibrary and GetFunction the TakeCmd.dll,
even ...
Unfortunately, that will not work.
I did try your method, though, just to confirm.
I use PureBasic to create plugins for Take Command Console,
Ref: https://jpsoft.com/all-downloads/tcc-plugins.html,
which means I cannot LoadLibrary and GetFunction the TakeCmd.dll,
even ...
- Thu Sep 28, 2023 1:21 am
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
Re: External .LIB compiles with ASM Backend, but not C Backend
Using the Take Command Console Foldermonitor command,
I was able to isolate the problem file.
r:\temp\ccqAtEwh.s: Assembler messages:
r:\temp\ccqAtEwh.s:2894: Error: invalid character '?' before operand 1
Line 2894 is call ?Command@@YAHPEB_WH@Z
R:\hold>type /l r:\hold\ccqAtEwh.s | tail /n+2890 ...
I was able to isolate the problem file.
r:\temp\ccqAtEwh.s: Assembler messages:
r:\temp\ccqAtEwh.s:2894: Error: invalid character '?' before operand 1
Line 2894 is call ?Command@@YAHPEB_WH@Z
R:\hold>type /l r:\hold\ccqAtEwh.s | tail /n+2890 ...
- Wed Sep 27, 2023 12:21 am
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
Re: External .LIB compiles with ASM Backend, but not C Backend
The C:\Users\jlcav\AppData\Local\Temp\ccF8Sg8s.s file does not exist after compilation.
The r:\temp\ccI90jLb.s file does not exist after compilation.
How do I stop the files from being deleted after compilation?
Joe
The r:\temp\ccI90jLb.s file does not exist after compilation.
How do I stop the files from being deleted after compilation?
Joe
- Tue Sep 26, 2023 5:51 pm
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
Re: External .LIB compiles with ASM Backend, but not C Backend
I have updated to PureBasic 6.02 LTS (Windows - x64)
Not comfortable with updating to Beta 6.03 at this time.
When compiling with the C Backend,
the number of errors have been reduced to;
PureBasic 6.02 LTS - C Backend (Windows - x64)
Loading 'C' subsystem
Compiling ActiveScript.pb
Loading ...
Not comfortable with updating to Beta 6.03 at this time.
When compiling with the C Backend,
the number of errors have been reduced to;
PureBasic 6.02 LTS - C Backend (Windows - x64)
Loading 'C' subsystem
Compiling ActiveScript.pb
Loading ...
- Tue Sep 26, 2023 4:17 pm
- Forum: Coding Questions
- Topic: External .LIB compiles with ASM Backend, but not C Backend
- Replies: 17
- Views: 2219
External .LIB compiles with ASM Backend, but not C Backend
I am using;
PureBasic 6.00 LTS (Windows - x64)
Windows 10 [Version 10.0.19044.3086]
I have a library, TakeCmd.lib
I want to use Command from the TakeCmd.lib (yes, it is actually called Command )
dumpbin /exports takecmd.lib
shows me
?Command@@YAHPEB_WH@Z (int __cdecl Command(wchar_t const ...
PureBasic 6.00 LTS (Windows - x64)
Windows 10 [Version 10.0.19044.3086]
I have a library, TakeCmd.lib
I want to use Command from the TakeCmd.lib (yes, it is actually called Command )
dumpbin /exports takecmd.lib
shows me
?Command@@YAHPEB_WH@Z (int __cdecl Command(wchar_t const ...
- Thu Sep 21, 2023 7:12 pm
- Forum: Coding Questions
- Topic: Integrate TinyC libtcc.lib into PureBasic
- Replies: 16
- Views: 2722
Re: Integrate TinyC libtcc.lib into PureBasic
There is no .lib in tcc-0.9.27-win64-bin.zip ;)
You are correct.
I checked the date on libtcc.lib ,
and it would appear that I created libtcc.lib a while back.
Now that I have a working console app,
I hope to create a plugin (https://jpsoft.com/all-downloads/tcc-plugins.html),
integrating ...