Nice, but I think in "make the child layer" you're overwriting always the same example structure.
How do you save all the elements (Example.All)...
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: 4
Posts: 5
Last Post:
PowerBASIC website and forums
|
4 | 5 | |||||||||||||
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,568
Posts: 192,664
Last Post:
gbThreads4
|
20,568 | 192,664 | |||||||||||||
PowerBASIC Console Compiler
Discussions about the PowerBASIC Console Compiler and console-mode programming in general.
Topics: 4,461
Posts: 40,400
Last Post:
Optimization issue (code is running slow)
|
4,461 | 40,400 | |||||||||||||
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,421
Posts: 91,554
|
9,421 | 91,554 | |||||||||||||
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,943
Last Post:
CPU meter
|
4,866 | 11,943 | |||||||||||||
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
-
-
Channel: PowerBASIC Console Compiler
Today, 01:31 PM -
-
Here my last version with type.
No need for union because the string counterpart of the words is never used.
I used a 2 words type (not 8)...-
Channel: PowerBASIC Console Compiler
Today, 01:24 PM -
-
by Eric PearsonUsing the TYPE/UNION and DIM that I posted above...
Code:' now build the subsequent layers FOR iLayer=6 TO 14
-
Channel: PowerBASIC Console Compiler
Today, 11:31 AM -
-
You're right, string manipulation slows down the process, even if we are speaking of fractions of seconds, not hours like in the first message of this...
-
Channel: PowerBASIC Console Compiler
Today, 10:47 AM -
-
by Eric PearsonNone of what has been posted so far will be nearly as fast as the TYPE/UNION method. I'll put together a working sample tonight, it's practically code-free...
-
Channel: PowerBASIC Console Compiler
Today, 10:06 AM -
-
Recursive is not automatically slower than "inline."...
-
Channel: PowerBASIC Console Compiler
Today, 09:41 AM -
-
Recursive version; not that slow, to be honest, less than 2 seconds ...
Code:function pbmain() as long dim layer(1 to 30,1
-
Channel: PowerBASIC Console Compiler
Today, 09:23 AM -
-
Reply to gbThreads4by Gary BeeneHowdy, Johan!
Thanks for the feedback! Please, everyone feel free to comment or make suggestions. I'll address them as time permits!...-
Channel: PowerBASIC for Windows
Today, 08:51 AM -
-
This problem can also be solved with a recursive function, probably more elegant, but certainly slower.
-
Channel: PowerBASIC Console Compiler
Today, 07:46 AM -
Jump to...
Collapse
Community Statistics
Collapse
Topics: 65,640
Posts: 562,970
Members: 3,602
Active Members: 165
Welcome to our newest member, Sugata Mukho.
There are currently 250 users online. 5 members and 245 guests.
Most users ever online was 8,072 at 04:00 PM on 26 Nov 2023.