Seeking Information about TabTable.pbi

Everything else that doesn't fall into one of the other PB categories.
davebar
User
User
Posts: 82
Joined: Fri Aug 31, 2018 9:23 am
Location: Australia

Seeking Information about TabTable.pbi

Post by davebar »

I had a reasonably free day, so I took the opportunity to check and tidy up some of my PB code examples. In the process I came across an include file named TabTable.pbi The file contains very few clues or comments, other than this:

Code: Select all

;|__________________________________________________________________________
;| Title: Tab-Separated Tables
;| File: TabTable.pbi
;| Date: 26.07.2008
;| Content: * Procedures for reading a file from From a tab separated table
;|__________________________________________________________________________
Obviously I can work back and figure out how the original author designed it to be used, but I thought I would check in here to ask if anyone recognized this file or it's origin.
Regards
Dave
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Seeking Information about TabTable.pbi

Post by blueb »

Looks like it's source was created by 'Unionbytes' from the German forum.

Here's the post... the hyperlinks are still active.

viewtopic.php?p=361979#p361979
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: Seeking Information about TabTable.pbi

Post by Tenaja »

I always (ok, 90 percent of the time) put a link to the forum page where I get code like that. It makes updating, etc, easier.
davebar
User
User
Posts: 82
Joined: Fri Aug 31, 2018 9:23 am
Location: Australia

Re: Seeking Information about TabTable.pbi

Post by davebar »

Tenaja wrote: Mon Nov 22, 2021 4:33 pm I always (ok, 90 percent of the time) put a link to the forum page where I get code like that. It makes updating, etc, easier.
For many years it has been my standard practice to comment with a link back to the source, but this one goes back to the days when I first started checking out PB and long before I started sensibly cataloging code examples.
davebar
User
User
Posts: 82
Joined: Fri Aug 31, 2018 9:23 am
Location: Australia

Re: Seeking Information about TabTable.pbi

Post by davebar »

blueb wrote: Mon Nov 22, 2021 2:47 pm Looks like it's source was created by 'Unionbytes' from the German forum.

Here's the post... the hyperlinks are still active.

viewtopic.php?p=361979#p361979
Thanks for reminding me where I originally got this example from.
It's really old code and the TableGadget.pb doesn't compile under PB 5.73, generating an error in the include file. The code has a lot of complex pointers, memory poking & peeking and since I don't know if it will be of any real use to me I might put this on the back burner for when I fancy some mental gymnastics :lol:
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: Seeking Information about TabTable.pbi

Post by STARGÅTE »

This code was written by me in 2008 and is definitely outdated!
!Please do not use this code!
It uses old PB-functions like CountList(), it uses an old hack to receive the size of an array, it is only working in x86, only for ascii, and it is not thread safe!

If you need a way to read a tab-separated table into an 2D array in Pure Basic, I can write a new include here.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Post Reply