[TF] Record variables
Brought to you by:
kenkeys
|
From: tinyfugue at attbi.c. (Galvin) - 2003-02-09 08:37:27
|
I created virtual record variables, here are some examples.
If anyone really wants it, i'll post it here.
/rec :movies.title: := "movie title"
/rec echo(:movies.title:)
/rec :count.start: := 1
/rec ++:count.start:
/rec echo(strcat(:movies.title:,' is great'))
/IF (rec(":count.stat: > 10")) /test echo('true')
/test file_ := tfopen('movies', w')
/test tfwrite_rec(file_, 'movies', "")
/test tfclose(file_)
/test movst_ := "movies"
/rec echo(:movst_+.title:) is the same as
/rec echo(:movies.title:)
Current functions that support records
get_rec()
add_rec()
del_rec()
tfwrite_rec()
tfread_rec()
/rec or rec()
|