moving values from one register to another?

ak0b

New Member
I want to do the following:
Symbol Sample1 = b2 ; load with a value
Symbol Sample2 = b3 ; load with a value
;in the pgm do the following move value from register b3 to register b2
Let Sample2=Sample1

; I get an error when I attempt this

Question - how do I transfer value stored in a register to another register

This should be simple to do but I can not find the tree in the forest, Thanks Stan

 

Technical

Technical Support
Staff member
This should work fine - check your spelling!

Symbol Sample1 = b2
Symbol Sample2 = b3
Let Sample2=Sample1
 

hippy

Technical Support
Staff member
And when you get an error, it always help to tell us what the error is, and indicate on which line it occurs. In many cases the error message will help you ( and us ) determine what is going wrong, for example "Unknown symbol - smaple2".
 

eclectic

Moderator
Might the error be

Let Sample2=Sample1

but needing

Let Sample1 = Sample2 ?????

e.


Edited by - eclectic on 09/08/2007 19:41:21
 

bgrabowski

Senior Member
Sometimes errors occur when text is copied and pasted into the programming editor due to unseen embedded formatting codes. If you suspect this, delete the text and retype it within the editor.
 
Top