I'm not sure what type of editing you'll be doing, but the set command is used to define a dataset range for some LabTalk commands (sum(), for example). This sets the range to rows ii1 through ii2...
Thank you very much Mike, it does work. My codes with a little modification, as follows: [Main] // Code to set dataset range and plotted x-axis A_R=10;B_R=30; //set range of start and end numbers A_A=18;B_A=48; //set X-axis from and to numbers Graph1!page.active=2; //set active layer Set data1_colA -b A_R; Set data1_colA -e B_R; Layer.X.from=A_A; Layer.X.to=B_A; break;
I'm glad you got it working. However, it's probably not a good idea to use variable names containing underscores. Such notation is usually reserved for dataset names and using it for a variable name might come back to bite you some day.