Simply broken

By Jamesnm on Jun 23, 2009

What im trying to do is check for list updates from a socket script by moveing the list over and haveing the sock script rewrite in the original document, then comparing the two. I have no idea why this is stoping at 31 when theres 100 listed in the document. Im open to any different ways to do this if you cant resovle it. Theres reported no errors it just stops.

alias move {
  write -c c:\storen.txt
  set %i 1
  :ok
  if (%i <= $lines(c:\store.txt)) {
    write c:\storen.txt $read(C:\store.txt,%i)
    inc %i
    goto ok
  }
}

Comments

Sign in to comment.
WorldDMT   -  Jun 24, 2009

no need for all that

alias move copy -o c:\store.txt c:\storen.txt
 Respond  
greenlanter420   -  Jun 23, 2009

this shouldn't be here it should be posted in the scripting forum looking for help not in the normal script submission its for completed snippets

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.