Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I send clipboard data into variable then do some math?
#2
Code:
Copy      Help
str sclip sline
double d ;;numeric variable that can contain .
ARRAY(double) a ;;array of variables for results
sclip.getclip ;;or use getsel
foreach sline sclip
,d=val(sline 2) ;;convert string to double
,a[a.redim(-1)]=d/50*55 ;;calculate and add to the array

;show results
int i
for i 0 a.len
,out a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)