Robafe

Database CP1L ?

2 posts in this topic

Need a simple 5 word 10 record DB That I can

Add a record

Search for a record

Delete a record

I was looking at (Dim) but cant rap my head around it.

Thanks for any help

 

Share this post


Link to post
Share on other sites

DIM (631) would define the memory area for the table of records.

Not able to post image.  DIM has four values

N = table number = #0

LR = Length of record = #5

NR = Number of records = #A (10 decimal)

TB = First Table word = D100 (arbitrary memory location)

Database would be in D100 - D150.  This only creates the memory area for the database.

You will need to use SETR (635), GETR (636), SRCH(181) to manipulate the data.

Hope this helps,

gtsuport

Edited by gtsuport

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now