Search found 3541 matches: command line help

Searched query: +command +line +help

by Axolotl
Wed Mar 04, 2026 11:28 am
Forum: General Discussion
Topic: Command Prompt vs. RunProgram Output
Replies: 3
Views: 3362

Re: Command Prompt vs. RunProgram Output

... behind that ConPTY stuff is described on the following site:
Windows Command-Line: Introducing the Windows Pseudo Console (ConPTY)

HINT: The new ConPTY API is available since Autumn/Fall 2018 release of Windows 10.

More... (nerd stuff) :D
A ‘C’ based ConPTY sample can be found in the Terminal ...
by susan
Wed Mar 04, 2026 8:08 am
Forum: General Discussion
Topic: My Bookmark Manager, finished version?
Replies: 3
Views: 218

Re: My Bookmark Manager, finished version?

... which are:

* When setting the browser, there is now an extra line for the arguments, which avoids the need to scan and split the command line that starts the browser. (which means, if there is already a path set with an argument, the set browser command must be used to correctly fill in the ...
by ChrisR
Mon Mar 02, 2026 8:17 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

Hello Little John,
Yes, I agree, the command line compiler should do it, it has everything at hand to do it (without the need to include the source), it would be a bonus.
This topic should be moved to feature request, I guess.

ps: It's really not easy, it"s difficult to navigate and respond right now ...
by Little John
Mon Mar 02, 2026 1:57 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

Hello ChrisR, thanks for your code!

Yes, I will choose this method to read the version information. However, it is a pity that the command line compiler cannot process the version information itself.
by Kwai chang caine
Sun Mar 01, 2026 7:03 pm
Forum: Tricks 'n' Tips
Topic: RunProgramConPTY (windows only)
Replies: 20
Views: 541

Re: RunProgramConsole (windows only)

... H\E\PB\v6.21\Codes outils\DebuggerPilotage.pb (Line: 487)
Fatal error. Do you want to open the ... Debugger
==============================================

Type 'help' for command options.
DEBUGGER::
by ChrisR
Sun Mar 01, 2026 1:23 am
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

A workaround to play with

; CmdLine compile: D:\PureBasic\Portable\PureBasic_Windows_X64_6.30\Compilers\pbcompiler.exe D:\PureBasic\Test\_Test.pb /EXE D:\PureBasic\Test\_Test.exe /XP /DPIAWARE

#ThisSourceFile$ = "D:\PureBasic\Test\_Test.pb"
#IDEOptions$ = "; IDE Options = PureBasic"

CompilerIf ...
by skywalk
Sat Feb 28, 2026 7:33 pm
Forum: Bugs - Windows
Topic: [BUG-640b1] Crash with IDE compile but not command line?
Replies: 0
Views: 84

[BUG-640b1] Crash with IDE compile but not command line?

... While shrinking 1 of my apps(35k LOC) to PM to Fred, I found that command line compiles for both v630 and v640b1 actually work.
But all v640alphas through v640b1 IDE compiles crash hard.

If I try to compile these settings from the v640b1 IDE, I crash.
C:\purebasic-x64-640b1\compilers\pbcompilerc ...
by Little John
Sat Feb 28, 2026 6:55 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

Axolotl and benubi, thanks for your replies and suggestions!

Especially reminding me of

Code: Select all

Defined(..., #PB_Constant)
helps me to work around the problem. It seems I had forgotten about that compiler function. :shock:
by DaveG
Sat Feb 28, 2026 5:32 pm
Forum: The PureBasic Editor
Topic: DGbasic: A Retro-Style IDE built 100% in PureBasic
Replies: 27
Views: 4804

Re: DGbasic: A Retro-Style IDE built 100% in PureBasic

... for gemini pro 3.1. working directly from the command line instead of messing around with web interfaces makes life as a developer so much easier! Additionally, the architecture is fully built around a ... exportcsv
f: for, forever
g: gosub, goto
h: help
i: if, importcsv, inkey$, input, int
l: left ...
by mk-soft
Sat Feb 28, 2026 3:24 pm
Forum: Mac OSX
Topic: PureBasic 6.30 does not start on macOS Tahoe – NSToolbar exception
Replies: 2
Views: 113

Re: PureBasic 6.30 does not start on macOS Tahoe – NSToolbar exception

I don't have Tahoe 26.3 and no ARM64, but the current Command Line Tools version: 26.3.0.0.1.1771626560

When testing with macOS 15.7.4 (Intel) and a code with double ToolBar item, the error also occurs here.

[15:19:30] Waiting for executable to start...
[14:19:30] Executable type: MacOSX - x64 (64bit ...
by Andre
Fri Feb 27, 2026 11:06 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

Thanks four suggestions, benubi :D

As this topic is also related to this one: viewtopic.php?t=88369
by benubi
Fri Feb 27, 2026 1:47 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

... a list of constants using a parameter in the command line, for multiple constants simply rinse & repeat for each:


-co, --constant, /CONSTANT name=value: creates the specified constant with the given ... shared code continues here


Hope I could give you some help and inspiration for experiments.
by Axolotl
Fri Feb 27, 2026 1:43 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Re: Version information when compiling on the command line

... is absolutely correct.
All IDE options must be passed to the compiler yourself.

I copied the imho relevant / important to know parts from the help file.
Send the information to the compiler with this switch:

-co, --constant, /CONSTANT name=value: creates the specified constant with the given ...
by idle
Fri Feb 27, 2026 2:24 am
Forum: Coding Questions
Topic: Order procedure called [Resolved]
Replies: 7
Views: 934

Re: Order procedure called

... you're looking for?
Replace the file with the one you want to compile line 129
then you can turn it into a compiler tool and pass it in with %FILE ... 5000)
CloseProgram(compiler)
EndProcedure

Procedure SendCompilerCommand(compiler, command$)
If ProgramRunning(compiler)
WriteProgramStringN ...
by Little John
Thu Feb 26, 2026 9:41 pm
Forum: Coding Questions
Topic: Version information when compiling on the command line
Replies: 7
Views: 371

Version information when compiling on the command line

Hi all,

can the command line compiler access the version information contained in the source file, or is the version information only available in the IDE?

Background of the question:
Normally I edit my PB source codes using the IDE, and then compile the programs from the IDE.
Recently I compiled one ...