Search found 3486 matches: command line help

Searched query: +command +line +help

by swhite
Sat Oct 11, 2025 2:38 pm
Forum: General Discussion
Topic: Looking for Suggestions
Replies: 4
Views: 113

Re: Looking for Suggestions

Hi

The data is transferred as a line of ascii text that must be acknowledged before the next line is sent. This just happens to be the way the ... starts via my program connecting to the machine via TCP and issuing a command that triggers the equipment to start sending the data. This process ...
by Erlend
Thu Oct 09, 2025 3:45 pm
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1477

Re: ScreenGadget bugs

... with sprits with 3d on Linux as below code works (commented out all 3d commands), but I also had to add ClearScreen command too for it to work (see ... OS = #PB_OS_Windows
VectorSourceGradientColor(c3, 0.9)

; This line doesn't work on OSX and MacOS, it makes the whole UI transparent ...
by Kurzer
Tue Oct 07, 2025 6:53 pm
Forum: Tricks 'n' Tips
Topic: [Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums
Replies: 1
Views: 488

[Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums

... a new tool
- Enter the following values:

Name: e.g. WinAPI Search
Command line: powershell.exe
Arguments: (This is where the PowerShell script below goes)
Event: Menu or Shortcut
Shortcut: e.g. Alt + F1
Hidden start: enable this option so the PowerShell window doesn’t pop up.

PowerShell ...
by ZX80
Mon Oct 06, 2025 7:01 pm
Forum: Coding Questions
Topic: Strange behavior of Editor with the WordWrap flag
Replies: 11
Views: 796

Strange behavior of Editor with the WordWrap flag

Hi, all.

I need to code an editor so that each line contains no more than n characters. For this I used a monospaced font and calculated the required ... by one, adding #CRLS$ between them. But why doesn't the GetGadgetText() command do this ? I don't know if this is a bug.

If OpenWindow(0, 0, 0, 322 ...
by Sergey
Fri Oct 03, 2025 3:49 pm
Forum: Bugs - Windows
Topic: ResizeWindow don't work with Debugger
Replies: 3
Views: 393

ResizeWindow don't work with Debugger

... source from topic "Window" and insert CallDebugger after OpenWindow command and commented two lines with MessageRequester
After run with debugger program stoped on CallDebugger line, I press Continue, but now Window don't change X and Y coordinates, only sizes
If I commented CallDebugger line the ...
by tored
Wed Oct 01, 2025 12:45 pm
Forum: Bugs - Windows
Topic: PureUnit triggers GUI alert on fail
Replies: 3
Views: 448

PureUnit triggers GUI alert on fail

... when calling PureUnit.exe from the command line.

Test case

test.pbi

Procedure MyProcedure()
Assert(#False)
EndProcedure

DeclareModule MyModule
Declare MyProcedure()
EndDeclareModule ... or Fail() inside a module? Typically a TestHelper module to make testing easier. Calling Assert ...
by idle
Sat Sep 27, 2025 10:08 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] SVG - Module (all OS)
Replies: 12
Views: 7092

Re: [Module] SVG - Module (all OS)

... OR THE USE OR OTHER DEALINGS IN THE
; SOFTWARE.
;}

;{ _____ Module - Commands _____

; SVG::Load() - similar to LoadImage()
; SVG::Resize ... file from an SVG image

;}

; ***** If CreateIcon is not required, this line can be commented out. *****
;CompilerIf Not Defined(Icon, #PB_Module ...
by Axolotl
Sat Sep 27, 2025 4:14 pm
Forum: Coding Questions
Topic: Command line compiler with #PB_Editor_CreateExecutable...
Replies: 2
Views: 277

Re: Command line compiler with #PB_Editor_CreateExecutable...

The question is how can I use them with the IDE values.
The help shows me this, but I don't have the IDE-internal counter values.

Code: Select all

/CONSTANT MyConstant=10 
by User_Russian
Sat Sep 27, 2025 4:09 pm
Forum: Coding Questions
Topic: Command line compiler with #PB_Editor_CreateExecutable...
Replies: 2
Views: 277

Re: Command line compiler with #PB_Editor_CreateExecutable...

These constants are added by the IDE using the parameter /CONSTANT on the compiler command line.
https://www.purebasic.com/documentation ... piler.html
by Axolotl
Sat Sep 27, 2025 4:00 pm
Forum: Coding Questions
Topic: Command line compiler with #PB_Editor_CreateExecutable...
Replies: 2
Views: 277

Command line compiler with #PB_Editor_CreateExecutable...

Using the command line compiler with source code that contains the following line results in an error.
#ProgramVersion$ = "0." + #PB_Editor_BuildCount + "." + #PB_Editor_CompileCount

I've thrown together the following for this message.

EnableExplicit

; Error with external compiler use ...
by idle
Sat Sep 27, 2025 9:26 am
Forum: Applications - Feedback and Discussion
Topic: [Module] SVG - Module (all OS)
Replies: 12
Views: 7092

Re: [Module] SVG - Module (all OS)

... Structure RegEx_Structure ;{ RegEx\...
Color.i
Command.i
Definition.i
Length.i
Points.i
Style.i
Value.i
EndStructure ... i
FillOpacity.d
Stroke.i
StrokeWidth.d
StrokeOpacity.d
StrokeLineCap.i
StrokeLineJoin.i
Array StrokeDashArray.d(0)
StrokeDashOffset.d ...
by Allen
Wed Sep 24, 2025 6:07 am
Forum: Coding Questions
Topic: SendInput problem with win gadget [SOLVED]
Replies: 4
Views: 279

SendInput problem with win gadget [SOLVED]

Hi,

In below code, if I comment out line ";MessageRequester("Wait","Wait Capture screen to complete")" , the progam does not work, I cannot replace it with a delay() command such that no user inout is required. Any suggestion? Without the CreateWin(), the capture screen also works ...
by Randy Walker
Mon Sep 22, 2025 1:00 am
Forum: Off Topic
Topic: Good Freeware Stuff
Replies: 673
Views: 689771

Re: Good Freeware Stuff


Windows 11 has a command line utility called "winget" you can use to update *most* of your installed software. I thought that was pretty cool so I thought I would try building a UI wrapper for it. Well ... updates". But there is a free tool that can help you get your Windows 11 fully up to date. It's ...
by Kurzer
Thu Sep 18, 2025 8:47 pm
Forum: Coding Questions
Topic: PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description
Replies: 5
Views: 481

Re: PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description

... Or (Rain = #True And Umbrella = 0)
; nothing
EndIf


Will result in: Line 1: “)” expected!


Global.i Hütte


Will result in: Line 1: Syntax ... user if hi expect that “Syntax error” means hi have written a command incorrectly. In my opinion, if a variable name is used incorrectly, it ...
by Rinzwind
Wed Sep 17, 2025 7:11 am
Forum: Bugs - IDE
Topic: Program parameters Console app
Replies: 7
Views: 434

Program parameters Console app

c = CountProgramParameters()
Debug c


It says 0, while compiler options has "executable command line" set. When I change Executable format to MacOS, it works as intended.