yea! finally a direct hit here. so for others -
All pointers are 32 bit (in 32 bit coding). The type in declares is the type (and inferred...
Collapse
Please log in to your account to view your subscribed posts.
Directory | Topics | Posts | Last Post | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Announcements | |||||||||||||||
Product Announcements
Announcements about new PowerBASIC products, updates, upgrades, and services.
Topics: 0
Posts: 0
|
0 | 0 |
|
||||||||||||
Frequently Asked Questions
Answers to frequently asked questions about PowerBASIC products.
Topics: 3
Posts: 4
|
3 | 4 | |||||||||||||
User to User Discussions | |||||||||||||||
PowerBASIC for Windows
Discussions about the PB/WIN compiler, including its use with PB/Forms and PowerTree for Windows.
Topics: 20,559
Posts: 192,354
Last Post:
Help with Peek/Poke
|
20,559 | 192,354 | |||||||||||||
PowerBASIC Console Compiler
Discussions about the PowerBASIC Console Compiler and console-mode programming in general.
Topics: 4,460
Posts: 40,384
|
4,460 | 40,384 | |||||||||||||
PowerBASIC for DOS
Discussions about the PowerBASIC for DOS compiler and legacy product line, including PBDK and other add-ons.
Topics: 1,695
Posts: 11,280
|
1,695 | 11,280 | |||||||||||||
Programming
User to user discussions of general programming topics such as algorithms, APIs, etc.
Topics: 9,418
Posts: 91,493
Last Post:
DeViL Image Library INC file
|
9,418 | 91,493 | |||||||||||||
Source Code Library
Please do not post questions or discussions in this forum, just WORKING source code. Questions go in other forums.
Topics: 4,866
Posts: 11,939
Last Post:
PBCodeCheck aka PBCodec Update
|
4,866 | 11,939 | |||||||||||||
Special Interest Groups
Power Programming in special fields
Topics: 3,421
Posts: 28,721
|
3,421 | 28,721 | |||||||||||||
Sub-Forums:
| |||||||||||||||
Friends of PowerBASIC | |||||||||||||||
José's Corner
A group of forums dedicated to the fine work of José Roca.
|
|
||||||||||||||
Sub-Forums:
| |||||||||||||||
The CW Corner
Computer Workshop, a third party developer, forums for sharing topics of interest.
|
|
||||||||||||||
Sub-Forums:
| |||||||||||||||
Third-Party Forums
Discussions of third-party add-on products for PowerBASIC. The promotion of products which enhance the PowerBASIC product line is allowed only in this forum.
Topics: 4,886
Posts: 38,985
Last Post:
Promoting PowerBASIC
|
4,886 | 38,985 | |||||||||||||
Sub-Forums:
|
Latest Posts
Collapse
-
Reply to Help with Peek/PokeBingo! Thanks Dale. That is what I missed (while copying and pasting from other code where I was dealing with 32bit data) and lead to all my confusion....
-
Channel: PowerBASIC for Windows
Today, 10:16 PM -
-
Reply to Help with Peek/Pokeby Dale YarkerpsData and psData2 are declared as LONG PTR in post 14 code, so it INCRements by 4. That is why Brent had to psData2=psData2+2 instead of INCR
...-
Channel: PowerBASIC for Windows
Today, 09:47 PM -
-
Better to put constants "in some form" (Literal, equate or MACRO) rather than a calculated value.
Assumes "better"means...-
Channel: PowerBASIC Console Compiler
Today, 08:09 PM -
-
Reply to Help with Peek/Poke> "With a string pointer variable".
Remember that what you have put into your "string" is actually a sequence of integer...-
Channel: PowerBASIC for Windows
Today, 04:26 PM -
-
Reply to Help with Peek/Pokeby Dale Yarkerdang it!!!!
Forget I said: I keep forgetting you said FITS uses negatives. Ignoring the upper two bytes would be a disaster on negative values....-
Channel: PowerBASIC for Windows
Today, 12:56 PM -
-
Reply to Help with Peek/Pokeby Dale YarkerINCR addendum "...increment a pointer by the size of its target;'' but the type being incremented must be INTEGER PTR, LONG PTR, etc. etc. But there...
-
Channel: PowerBASIC for Windows
Today, 12:33 PM -
-
Reply to Help with Peek/Pokeby Dale YarkerINCR only adds 1. (not useful for pointers to anything larger than bytes.)
Try psData += 2 to increment by 2. (shorter form of "psData=psData+2"...-
Channel: PowerBASIC for Windows
Today, 12:18 PM -
-
Reply to Detect NarratorGary,
try the updated code above...
Ctrl + Win + Enter on/off works fine for me under Windows 11...-
Channel: PowerBASIC for Windows
Today, 12:13 PM -
Jump to...
Collapse
Community Statistics
Collapse
Topics: 65,625
Posts: 562,565
Members: 3,601
Active Members: 147
Welcome to our newest member, Jack G Gibson.
There are currently 108 users online. 5 members and 103 guests.
Most users ever online was 8,072 at 04:00 PM on 26 Nov 2023.