Quick Question: Does ''RETURN'' send the programme back to ''Main'' or......
It returns to the line following the GOSUB.
Even though this is pretty obvious to those of us who have been programming
since the stone age, I decided to RTFM myself before spouting off. RETURN
acts as a "goto start of program" if there is no outstanding GOSUB. I
hadn't noticed that before. Could lead to some interesting bugs!
-- Al Margolis, founder
www.hobbyengineering.com
The WEB's newest source for robotics supplies and information
Original Message
From: Caryatnid <e99bf0e8@s...>
[noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=tuGE4f0Q0EbsIc2xG2yGLnVMi7aKhFvtGDD2OKzkiwHpn9AA76QZPMWRKT4EF--IRROed9C8bLgi1IXwInp4QA]e99bf0e8@s...[/url
Sent: Monday, February 17, 2003 10:10 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Quick Question: Does 'RETURN' send the programme
back to 'Main' or......
Quick Question: Does 'RETURN' send the programme back to 'Main' or
back to the place from which it was called. Thanks!!
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Even though this is pretty obvious to those of us who have been programming
since the stone age, I decided to RTFM myself before spouting off. RETURN
acts as a "goto start of program" if there is no outstanding GOSUB. I
hadn't noticed that before. Could lead to some interesting bugs!
-- Al Margolis, founder
www.hobbyengineering.com
The WEB's newest source for robotics supplies and information
Original Message
From: Caryatnid <e99bf0e8@s...>
[noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=tuGE4f0Q0EbsIc2xG2yGLnVMi7aKhFvtGDD2OKzkiwHpn9AA76QZPMWRKT4EF--IRROed9C8bLgi1IXwInp4QA]e99bf0e8@s...[/url
Sent: Monday, February 17, 2003 10:10 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Quick Question: Does 'RETURN' send the programme
back to 'Main' or......
Quick Question: Does 'RETURN' send the programme back to 'Main' or
back to the place from which it was called. Thanks!!
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/