Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / TMemory: New Inexpensive DBPro Plugin

Author
Message
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 01:56
www.Techvance.com

TMemory for DBPro includes over 50 procedures to allocate, manipulate, and deallocate strings, arrays (1d, 2d, and 3d), and lists. TMemory places no limitation on how many dynamic strings, arrays, or lists can be created. TMemory gives DBPro much of the dynamics found in external scripting languages without the hassle of learning one. Amongst TMemory's features include:

- Inexpensive ($10.00 USD)

- Convenient string procedures. Including Field, InsertNum, InsertStr, Remove, Repeat, Replace, Search, and Tally.

- Arrays and lists can be of data type Byte, Short, Long/Integer, Single/Float, Double, and String.

- Arrays retain data when resized.

- Convenient list procedures. Including AddNum, AddStr, InsertNum, InsertStr, Remove, Reverse, Search, and Sort,

- Convenient pointer procedures to read and write from any given address. Pointer procedures support the data types Byte, Short, Long/Integer, Single/Float, and Double.

TMemory's offical site is www.Techvance.com
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 04:14
Additional features:

- Compact (less than 35k).

- Includes various examples demonstrating its various features.

- DLL, Keyword file, and examples are included within a simple installation program.

http://www.Techvance.com
Crazy Programmer
AGK Developer
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 17th Jul 2007 04:31
I dont think this is the place for this. Maybe Program Announcements is.


Load Programmer "Crazy Programmer",1
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 04:52
If this was an inappropriate place, then my apologies.
da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 17th Jul 2007 16:39
or DLL Talk... maybe

(Not sure)


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 16:43
"DLL Talk" does seem to be about 3rd party dlls.
Manic
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 17th Jul 2007 16:46
doesn't Ian M's dll's and DBP's core commands cover a lot of these functions?

personally I could do with a "you could use this to do this *insert immensily cool concept*" I've got a crick in my neck and it's stopping me from imagining.

I don't have a sig, live with it.
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 17:10
I'm not certain about Ian M's DLLs. However TMemory is unique to DBPro's core commands in that it allows the creation of strings, arrays, and lists dynamically. Meaning at run-time. This is convenient for the following reasons:

- Allows the construction of complex data structures. Such as lists in which each item is it's own array. Each array can be its own size and number of dimensions. They can even hold lists.

- Since all dynamically created strings, arrays, and lists are identified by Integers/Long, they can be passed to procedures and external as simply as any Integer.
Manic
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 17th Jul 2007 18:04
so, could you use this to effectively make the equivelent of this;

type myType
name as string
stuff(0)
other(0)
endtype

and then be able to add to the array length, held within a data type?

I don't have a sig, live with it.
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 18:16
Affectively, definitely. Such as:



You could even create a "constructor" for the type. Keep in mind, all TMemory strings, lists, and arrays are handled via ids (pointers). You can store and transfer the ids wherever or however is convenient.
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 18:20
Correction:

- TMemory is $5.00 (USD) not $10.00
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 23:42
Here are various examples of TMemories array functions:

TM_Array_Bound


TM_Array_Ptr


TM_Array_Size
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 23:47
Here are various examples of TMemories list functions:

TM_List_Add


TM_List_Insert


TM_List_Remove


TM_List_Reverse


TM_List_Search


TM_List_Sort
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 23:51
Here are various examples of TMemory's string functions:

TM_String_Field

`Variables
Global Text1 As Integer
Global Field As Integer

`Create string
Text1 = TM_String_Create("abc||def||ghi||jkl")

`Retireve field
Field = TM_String_Field(Text1, "||", 3)

`Display string
Text 10, 10, "Text #1: " + TM_String_ReadStr(Text1)
Text 10, 30, "Field #3: " + TM_String_ReadStr(Field)

`Main loop
While ScanCode()= 0
EndWhile


TM_String_Insert

`Variables
Global Text1 As Integer

`Create string
Text1 = TM_String_Create("abcdefghijkl")

`Modify string
TM_String_InsertNum Text1, 123, 3
TM_String_InsertStr Text1, "---", 3

`Display string
Text 10, 10, "Text #1: " + TM_String_ReadStr(Text1)

`Main loop
While ScanCode()= 0
EndWhile


TM_String_Replace

`Variables
Global Text1 As Integer

`Create string
Text1 = TM_String_Create("abc||def||ghi||jkl")

`Modify string
TM_String_Replace Text1, "||", "-"

`Display string
Text 10, 10, "Text #1: " + TM_String_ReadStr(Text1)

`Main loop
While ScanCode()= 0
EndWhile


TM_String_Tally
`Variables
Global Text1 As Integer

`Create string
Text1 = TM_String_Create("abc||def||ghi||jkl")

`Display string
Text 10, 10, "Text #1: " + TM_String_ReadStr(Text1)
Text 10, 30, "'||' occurs " + Str$(TM_String_Tally(Text1, "||")) + " times"

`Main loop
While ScanCode()= 0
EndWhile
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 17th Jul 2007 23:53
*If the "string" functions are not within "code" blocks, I'm not sure why.
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th Jul 2007 00:22
I like the look of your web page, and I see PayPal improved their purchase pages.

My DBP plugins page is now hosted [href]here[/href]
man id unknown
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location:
Posted: 18th Jul 2007 01:05
First, thank you. Secondly, yes, PayPal really did improve their purchase pages. In fact, setting up the purchase page was quite simple.

Login to post a reply

Server time is: 2024-05-18 09:44:09
Your offset time is: 2024-05-18 09:44:09