0.85 Beta: Error when executing scripts
Posted: Sun Nov 18, 2012 8:32 pm
Hello,
with the last full version of TGF I used the following script to copy the composer data into the lyricist fields:
When I was trying the script in the new 0.85 beta the following error message appeared:
Compiling...
Compiler: [Error] (8:13): Unknown identifier 'on_getGrdRowCount'
Bye Byte & Happy Coding
Wurlitzer
with the last full version of TGF I used the following script to copy the composer data into the lyricist fields:
Code: Select all
Program composer_to_Lyricist;
var
i, iCount: integer;
sComposer: string;
begin
iCount := on_getGrdRowCount;
if iCount = 0 then exit;
for i := 1 to iCount do begin
on_setGrdRow(i);
on_LoadFile;
sComposer := on_getGrdField( 'Composer' );
gTag.Lyricist := sComposer;
gTag.OrigLyricist := sComposer;
on_UpdateThis( false );
end;
on_setGrdRow(1);
end.
Compiling...
Compiler: [Error] (8:13): Unknown identifier 'on_getGrdRowCount'
Bye Byte & Happy Coding
Wurlitzer