To try the dll demo copy test.dll in the directory where Origin60.exe is.
Open Origin and enter some data in your worksheet in column A. Say the name 
of the worksheet is Mydata. Then try the following commands in the script window:
dll test test1 Mydata_a 5 Mydata_b  (this will set column B to be Column A + 5)
dll test test2 Mydata 50 (this will increase the number of rows to 50, set the 
first column to be equal to the row number and the second cplumn to be 10 times the first)

Very important:For the test1 and test2 functions to work both columns in the 
worksheet have to be "Numeric". Either go to "Worksheet column format" DB by right 
clicking on the column title and change the display to "Numeric", or go to 
Tools->Options->Miscellaneous and check "Use numeric as preferred column type"