Search found 6 matches

by dave@idea-tech.com
Wed Jul 17, 2024 8:37 pm
Forum: Coding Questions
Topic: am I using Stringfield() incorrectly?
Replies: 5
Views: 709

am I using Stringfield() incorrectly?

Hi, I am parsing some text and want to extract words that are surrounded by spaces.
I am using StringField() to do this, but the number of spaces before the first word and between each word
makes a difference to the output.

I am hoping that someone would please explain what I am not understanding ...
by dave@idea-tech.com
Thu Aug 17, 2023 4:54 pm
Forum: Coding Questions
Topic: RunProgram with #PB_Program_Hide not working as expected
Replies: 3
Views: 643

Re: RunProgram with #PB_Program_Hide not working as expected

Thank You very much Gerard!

I will study this carefully.
by dave@idea-tech.com
Wed Aug 16, 2023 6:31 pm
Forum: Coding Questions
Topic: RunProgram with #PB_Program_Hide not working as expected
Replies: 3
Views: 643

RunProgram with #PB_Program_Hide not working as expected

Hi, I am writing a PB program to run and control WinSCP.

WinSCP.com will open WinSCP in console mode.

Here's my code:

OpenConsole( "Control WinSCP",#PB_Ascii)

Delay(4000)

winscp_handle = RunProgram( "C:/Program Files (x86)/winscp/winscp.com ","","",#PB_Program_Open|#PB_Program_Read|#PB_Program ...
by dave@idea-tech.com
Tue Mar 21, 2023 7:18 pm
Forum: Coding Questions
Topic: PeekA vs PeekB
Replies: 3
Views: 672

Re: PeekA vs PeekB

OK. Thank you very much!
by dave@idea-tech.com
Tue Mar 21, 2023 6:33 pm
Forum: Coding Questions
Topic: PeekA vs PeekB
Replies: 3
Views: 672

PeekA vs PeekB

Hello,

Firstly, I'd like to say that developing with PureBasic is fantastic experience!
Thank You!

I have discovered an oddity that may be a bug, or perhaps just needs better documentation
in the user manual.

I was using PeekB to view the contents of memory and was confused with all of the $FF ...