Menu

Commit [r12054]  Maximize  Restore  History

Add new "fgl_copy" call - copies from one variable to another using byte copies (so copying a large array of records is much faster).

Eg.
define a array[20] of record
c char(20)
end record

define b array[20] of record
c char(20)
end record
...
for d=1 to 20
let a[d].c=d
end for

CALL fgl_copy(a,b)

will copy the array "a" into array "b"

Sizes of the arrays *must match*

mikeaubury 2011-05-17

changed /aubit4glsrc/trunk/compilers/4glc/rules/call.rule
changed /aubit4glsrc/trunk/compilers/4glc/rules/data/kwords
changed /aubit4glsrc/trunk/compilers/4glc/rules/let.rule
/aubit4glsrc/trunk/compilers/4glc/rules/call.rule Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/compilers/4glc/rules/data/kwords Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/compilers/4glc/rules/let.rule Diff Switch to side-by-side view
Loading...