Search found 15 matches
- Sat Jan 03, 2026 11:23 am
- Forum: Coding Questions
- Topic: Size limit of CatchXML?
- Replies: 5
- Views: 231
Re: XML size limit?
Just to eliminate the obvious things: You're using the x64 compiler, right?
- Fri Dec 19, 2025 12:18 am
- Forum: Coding Questions
- Topic: SOLVED Inputting/Validating Form Data
- Replies: 20
- Views: 1250
Re: Inputting/Validating Form Data
? All of the snippets work as validations. They are all executable in IDE with compile/run, so you can play with the input values.
I leave it to you to put them into procedures (see answers above) in form of
Procedure PROCEDURENAME(VARIABLENAME.Type)
<code here>
ProcedureReturn [result ...
I leave it to you to put them into procedures (see answers above) in form of
Procedure PROCEDURENAME(VARIABLENAME.Type)
<code here>
ProcedureReturn [result ...
- Wed Dec 17, 2025 11:38 pm
- Forum: Coding Questions
- Topic: SOLVED Inputting/Validating Form Data
- Replies: 20
- Views: 1250
Re: Inputting/Validating Form Data
Hi M.
1. Sorry, no clue :wink:
2.
x = -75
If x >= -750 And x <= 34567
Debug "OK " + x
Else
Debug "NOK"
EndIf
3. I would parse the entry into a date function and check if I get someting valid in return:
Define y.s = "20251317"
;Define y.s = "20251031"
If ParseDate("%yyyy%mm%dd",y ...
1. Sorry, no clue :wink:
2.
x = -75
If x >= -750 And x <= 34567
Debug "OK " + x
Else
Debug "NOK"
EndIf
3. I would parse the entry into a date function and check if I get someting valid in return:
Define y.s = "20251317"
;Define y.s = "20251031"
If ParseDate("%yyyy%mm%dd",y ...
- Sun Nov 23, 2025 10:01 am
- Forum: Coding Questions
- Topic: PureBasic IDE different from what is in the HTML Help file
- Replies: 8
- Views: 783
Re: PureBasic IDE different from what is in the HTML Help file
Hi John
...no not really.
What tabs are you missing that you see on the help file? Left side, right side, both?

(image source: https://www.purebasic.com/documentation ... start.html)
...no not really.
What tabs are you missing that you see on the help file? Left side, right side, both?

(image source: https://www.purebasic.com/documentation ... start.html)
- Wed Oct 29, 2025 12:02 pm
- Forum: Coding Questions
- Topic: $FF0000FF <> RGBA(255, 0, 0, 255) .... why?
- Replies: 12
- Views: 1070
Re: $FF0000FF <> RGBA(255, 0, 0, 255) .... why?
Did you see the remarks in the manual?
Result varies from 0 to 4 294 967 295 shades. It is therefore advisable to use a 'quad', (Result.q) and set unused bytes to zero.
So as per the manual:
Q = $FF0000FF ; 4278190335
color.q = RGBA(255,0,0,255) & $FFFFFFFF ; 4278190335
col = RGBA(255, 0 ...
Result varies from 0 to 4 294 967 295 shades. It is therefore advisable to use a 'quad', (Result.q) and set unused bytes to zero.
So as per the manual:
Q = $FF0000FF ; 4278190335
color.q = RGBA(255,0,0,255) & $FFFFFFFF ; 4278190335
col = RGBA(255, 0 ...
- Wed Oct 08, 2025 10:39 am
- Forum: Coding Questions
- Topic: Strange behavior of Editor with the WordWrap flag
- Replies: 11
- Views: 1450
Re: Strange behavior of Editor with the WordWrap flag
Yes, this is exactly the workaround I used, I talked about it above. But this is only to obtain the text in its original form. However, the main problem is still not solved.
Just to make sure: did you see this?
For a = 0 To 5
AddGadgetItem(0, a, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ...
- Wed Jul 16, 2025 9:53 pm
- Forum: Game Programming
- Topic: modeling CLAY color ...
- Replies: 4
- Views: 2132
Re: modeling CLAY color ...
Hi marc
That's a bit subjective, isn't it?
However, what about dusted-clay?
Hex : #cc7357
Rgb : rgb(204,115,87)
Best, pfn.
That's a bit subjective, isn't it?
However, what about dusted-clay?
Hex : #cc7357
Rgb : rgb(204,115,87)
Best, pfn.
- Sat May 17, 2025 10:30 pm
- Forum: Game Programming
- Topic: Magic 4x4
- Replies: 78
- Views: 19269
Re: Magic 4x4
Thanks SPH for sharing, I love this game (and my highscore isn't nearly as high as NicTheQuick's).
In my opinion there's no need for an animation for the new tiles, but that's...my opinion. (well actually it distracts me almost to the point that it hurts my eyes...) For the time beeing I changed ...
In my opinion there's no need for an animation for the new tiles, but that's...my opinion. (well actually it distracts me almost to the point that it hurts my eyes...) For the time beeing I changed ...
- Sun Apr 06, 2025 12:17 pm
- Forum: Windows
- Topic: Help file menu icons too small on high DPi display
- Replies: 8
- Views: 3567
Re: Help file menu icons too small on high DPi display
You're welcome, even if it's only part of the desired solution.
- Sun Apr 06, 2025 12:59 am
- Forum: Windows
- Topic: Help file menu icons too small on high DPi display
- Replies: 8
- Views: 3567
- Thu Feb 06, 2025 6:11 pm
- Forum: Coding Questions
- Topic: HTML color -> PB color -> libxlsxwriter color
- Replies: 8
- Views: 1752
Re: HTML color -> PB color -> libxlsxwriter color
What about this?
Code: Select all
Define xcolor.s
xcolor = (ReplaceString("#3030E0","#","$"))
Debug Red(Val(xcolor))
Debug Blue(Val(xcolor))
Debug Green(Val(xcolor))
;And back to hex to verify...
Debug Hex(RGB(Red(Val(xcolor)),Green(Val(xcolor)),Blue(Val(xcolor))))
- Wed Mar 08, 2023 7:16 pm
- Forum: Coding Questions
- Topic: One more COMate question (ADO)
- Replies: 2
- Views: 480
Re: One more COMate question (ADO)
Hi
Would you like to share what kind of DB you're trying to access?
I still use COMate, but mostly to automate MS Office. When migrating my sources from Powerbasic to Purebasic I found that the integrated database library is quite powerful (and much faster).
Would you like to share what kind of DB you're trying to access?
I still use COMate, but mostly to automate MS Office. When migrating my sources from Powerbasic to Purebasic I found that the integrated database library is quite powerful (and much faster).
- Wed Mar 08, 2023 7:09 pm
- Forum: Coding Questions
- Topic: Latest COMate download
- Replies: 7
- Views: 1570
Re: Latest COMate download
Hi
See two posts above yours
See two posts above yours
- Sat Mar 04, 2023 4:58 pm
- Forum: Coding Questions
- Topic: excel control
- Replies: 4
- Views: 872
Re: excel control
Hi drrself
This would be the equivalent:
WS1\Invoke("Rows('5:5')\delete")
Of course you'd need to attribute your worksheet to WS1 first.
<snip (create comate-object)>
WorkBook = ExcelObject\GetObjectProperty("Workbooks\Add")
<snip>
WS1 = WorkBook\GetObjectProperty("ActiveSheet ...
This would be the equivalent:
WS1\Invoke("Rows('5:5')\delete")
Of course you'd need to attribute your worksheet to WS1 first.
<snip (create comate-object)>
WorkBook = ExcelObject\GetObjectProperty("Workbooks\Add")
<snip>
WS1 = WorkBook\GetObjectProperty("ActiveSheet ...
- Tue Jul 12, 2022 9:11 pm
- Forum: General Discussion
- Topic: Pure Programming Tutorials?
- Replies: 2
- Views: 860
Re: Pure Programming Tutorials?
Unfortunately it seems like Guillaume lost interest. See answer to Mike Mike in this video