To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 6940
6939  |  6941
Subject: 
Re: for loop stack overflow
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 21 Oct 1999 02:46:31 GMT
Original-From: 
Nick Taylor <ntaylor@iname.com>
Viewed: 
836 times
  
Owen,
IC integers are signed 16-bit values ...
- Nick -

owen popplestone wrote:

THis may be a dumb question on my part, but we are getting stack overflows
on for loops such as

for(int i = 0;i<1000;i++){...}
when using values over 100 or so. Is this an 8bit counter thing or
something else?


Thanks,
Owen Popplestone



Message has 1 Reply:
  Re: for loop stack overflow
 
owen, what's inside the loop. i don't see any probl with the for loop itself. fred In your message you said: (...) (25 years ago, 21-Oct-99, to lugnet.robotics.handyboard)

Message is in Reply To:
  for loop stack overflow
 
THis may be a dumb question on my part, but we are getting stack overflows on for loops such as for(int i = 0;i<1000;i++){...} when using values over 100 or so. Is this an 8bit counter thing or something else? Thanks, Owen Popplestone (25 years ago, 20-Oct-99, to lugnet.robotics.handyboard)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR