Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiplying str or int
#1
Code:
Copy      Help
int i=1
str j="LOG"
j+i ;; = LOG1
rep 5
,j+1 ;;i want the number in the value j to increase by 1 each rep eg: LOG1 LOG2 LOG3 LOG4
,out j ;; but im getting eg: LOG11 LOG111 LOG1111 LOG11111
,
#2
Code:
Copy      Help
int i=1
rep 5
,str j="LOG"    
,j+i
,i=i+1
,out j ;; ok i think iv got it sorry for wasting anybodys time


Forum Jump:


Users browsing this thread: 1 Guest(s)