在下面的示例中,ratline( ) 函数返回 notes 备注字段中最后一个包含单词 graduated 的行号,mline( ) 函数使用这个值返回该行的内容。
close databases
open database (home( ) + 'samples\data\testdata')
use employee &&打开 employee 表
store 'graduated' to gcstring
store mline(notes, ratline(gcstring, notes)) to gnfileline
? gnfileline