M
Hello,
I'm working with a project where I need to move a DB (and all it's content) to another DB. The DBs are exactly the same except for the values.
I have tried with SFC 20 (blkmov) and just give the name of the datablocks as parameters (like "Datablock1"). The compile goes through but it doesn't seem to work, and I get a value on the RET_VAL (dec: 32476 -> hex: 7EDC) so what I can understand it's not an error...
I guess I could make an anypointer ("P#DB100.DBX0.0 BYTE 10") but I havn't figured out the syntax if I wish to enter names instead (ie. P#"Datablock1".DBX0.0 BYTE 10). And more important, what if I only know through o variable (int) how large the DB is? (That sounds a little strange but in my case that will be possible.)
Hope someone can help me with this, thanks.
/Markus
I'm working with a project where I need to move a DB (and all it's content) to another DB. The DBs are exactly the same except for the values.
I have tried with SFC 20 (blkmov) and just give the name of the datablocks as parameters (like "Datablock1"). The compile goes through but it doesn't seem to work, and I get a value on the RET_VAL (dec: 32476 -> hex: 7EDC) so what I can understand it's not an error...
I guess I could make an anypointer ("P#DB100.DBX0.0 BYTE 10") but I havn't figured out the syntax if I wish to enter names instead (ie. P#"Datablock1".DBX0.0 BYTE 10). And more important, what if I only know through o variable (int) how large the DB is? (That sounds a little strange but in my case that will be possible.)
Hope someone can help me with this, thanks.
/Markus