JHDK wrote:
A basic database for school. But i cant not get the whole thing to work!!
could anyone just give me a simple sample database plz?
Well, I don't happen to have any sample databases lying around here, and to tell the truth at first I got the idea that you wanted somebody to do your whole assignment for you... but I was wrong, right?
Look at this for starters:
code: |
type thing :
record
num : int
name : string
end record
var item : thing
item.num := 5
item.name := "JHDK"
put item.num
put item.name
|
You can use types to create your own kind of variables. That would be like a record in a database program. And each variable inside the type would be like the fields in a record of a database program. Try playing around with that a bit and see what you can find out. Then if there are problems you can ask for help and I'd be glad to help you out. (But please don't ask people to do it all for you)