Search found 3602 matches
- Thu Mar 28, 2024 11:34 am
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 290
- Views: 36401
Re: PureBasic 6.10 LTS is out !
This release is definitely a milestone. Thank you for all the hard work.
- Wed Mar 27, 2024 5:32 pm
- Forum: Coding Questions
- Topic: What is the maximum length a string variable can hold?
- Replies: 15
- Views: 394
Re: What is the maximum length a string variable can hold?
p.s=Space(18306000000) Debug Len(p.s) Yes, it is more than 18 billion bytes (billion in American English, it is 18 milliards in French, Dutch, German, Italian,...)... 18306000000 = 18306000000 Unicode chars at 2 bytes a piece = 36612000000 bytes = 36612000 KB = 36120 MB = 36.12 GB. Do you have 34.1...
- Wed Mar 27, 2024 12:15 pm
- Forum: Feature Requests and Wishlists
- Topic: DebugOutput window / Script line
- Replies: 5
- Views: 161
Re: DebugOutput window / Script line
Another macro variation: ;Use macro DebugL when you want the line number included before the debug output Macro DebugL Debug "" + #PB_Compiler_Line + ": " + EndMacro DebugL "Before Loop" For i = 1 To 10 DebugL i Next DebugL "Loop complete" outputs: 9: Before L...
- Mon Mar 25, 2024 8:37 pm
- Forum: 3D Programming
- Topic: ResizeBillboard work?
- Replies: 1
- Views: 53
Re: ResizeBillboard work?
Result = AddBillboard(#BillboardGroup, x, y, z) Return value The new billboard index. This value can be used to manipulate this specific billboard with the commands which needs one. What about this change to your non-runnable code sample? bb= CreateBillboardGroup(#PB_Any, MaterialID(mate),10,10) Re...
- Mon Mar 11, 2024 5:13 am
- Forum: Coding Questions
- Topic: Getting system environment variables only (Windows)?
- Replies: 8
- Views: 248
Re: Getting system environment variables only (Windows)?
There's no filtering available that I am aware of.
- Mon Mar 11, 2024 4:18 am
- Forum: Coding Questions
- Topic: Getting system environment variables only (Windows)?
- Replies: 8
- Views: 248
Re: Getting system environment variables only (Windows)?
Is there anything standing in the way of you using the functions in PureBasic's Process library to get the variables and values?
- Sun Mar 10, 2024 11:40 pm
- Forum: Bugs - IDE
- Topic: [PB610bX] Unicode problem in some PB message strings.
- Replies: 2
- Views: 176
Re: [PB610bX] Unicode problem in some PB message strings.
Where's the code sample that generates the problem shown the images?
- Sun Mar 10, 2024 6:35 am
- Forum: Game Programming
- Topic: Fastest way to move a sprite
- Replies: 3
- Views: 399
Re: Fastest way to move a sprite
eddy's post Module - Animation & Motion tween FX contains some great functions to help out with the timing of animations.
Did you ever finish your program or are you just trying to tune it up?
Did you ever finish your program or are you just trying to tune it up?
- Fri Mar 08, 2024 12:18 am
- Forum: Coding Questions
- Topic: AddSysTrayIcon (1, WindowID(0), ImageID(0)) ?
- Replies: 12
- Views: 478
Re: AddSysTrayIcon (1, WindowID(0), ImageID(0)) ?
Did you resolve your worries or do you still have concerns when mixing indexed and dynamic object numbering?
- Thu Mar 07, 2024 2:00 am
- Forum: Feature Requests and Wishlists
- Topic: Better handling of Custom Events/EventTypes
- Replies: 9
- Views: 3505
Re: Better handling of Custom Events/EventTypes
Wouldn't it be more logical if the whole program uses ONE #PB_Event_FirstCustomValue? I don't see why every module needs its own... There is only one #PB_Event_FirstCustomValue. It's a constant. That is why the solution is a named enumeration. A named enumeration generates sequential values. The ne...
- Wed Mar 06, 2024 6:46 am
- Forum: Feature Requests and Wishlists
- Topic: Better handling of Custom Events/EventTypes
- Replies: 9
- Views: 3505
Re: Better handling of Custom Events/EventTypes
You need to do all of the enumerations through the common module, whether inside or outside of a module.
Modules can't access the enumerations in the main scope but the main scope can access the enumerations in the 'public' scope of a module.
Modules can't access the enumerations in the main scope but the main scope can access the enumerations in the 'public' scope of a module.
- Fri Feb 23, 2024 6:43 pm
- Forum: Coding Questions
- Topic: Close button intermittently doesn't close
- Replies: 17
- Views: 652
Re: Close button intermittently doesn't close
Hi Fred, Do you have a link or help page that explains event priorities? If I use BindEvent(), PostEvent() along with the standard Event Loop, which Procedure "sees" an event first? Does BindEvent return to the Event Loop and clear the event it acted on? From my understanding BindEvent() ...
- Sat Feb 17, 2024 7:33 am
- Forum: Coding Questions
- Topic: Issues with sorting arrays using new PB 6.10 flags
- Replies: 4
- Views: 160
Re: Issues with sorting arrays using new PB 6.10 flags
Heya, Why does: SortStructuredArray(sort_arrays_in_latin(),#PB_Sort_Ascending,OffsetOf(sort_arrays_in_latin\in_ascii.s),TypeOf(sort_arrays_in_latin\in_ascii.s)) Give different results than: SortStructuredArray(sort_arrays_in_latin(),#PB_Sort_Ascending,OffsetOf(sort_arrays_in_latin\in_ascii.s),#PB_A...
- Thu Feb 08, 2024 2:29 am
- Forum: Coding Questions
- Topic: Keypress using Sendinput_() Not always working.
- Replies: 4
- Views: 251
Re: Keypress using Sendinput_() Not always working.
What emulators?
- Wed Feb 07, 2024 5:51 pm
- Forum: Coding Questions
- Topic: PB6.10 b5 Created Image fails being recognized.
- Replies: 6
- Views: 323
Re: PB6.10 b5 Created Image fails being recognized.
Maybe it is related to the other bug involving #PB_Any (=-1).