It is currently Thu May 25, 2017 5:37 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SOLVED
Unread postPosted: Wed Mar 22, 2017 8:13 am 
Offline

Joined: Sat Feb 11, 2017 1:40 am
Posts: 68
Location: France
Issue with debug command
Error on my side.
Thanks Brochi, to have shown me the misplaced line. How could I for so long a time leave it at the wrong place? The more huge the error, the less visible is it for me?
I should be very anxious about Alzheimer; but I remember other cases like that, even worse (yes, worse occured) implying several young people.

_________________
Alain


Last edited by Sprougnaf on Fri Mar 24, 2017 1:37 am, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Issue with DEBUG commands
Unread postPosted: Thu Mar 23, 2017 8:29 pm 
Offline

Joined: Sat Dec 22, 2012 2:32 pm
Posts: 830
All works fine, no issues with BASIC! commands.

Code:
FN.DEF isDebugOn()
CONSOLE.LINE.COUNT count1
DEBUG.PRINT "debug is on"
PAUSE 1000
IF !count1 THEN CLS
CONSOLE.LINE.COUNT count2
! print count1, count2
FN.RTN count2-count1
FN.END

FN.DEF prArr()
IF isdebugon()
  ? "it works"
ENDIF
FN.END


prarr ()

DEBUG.ON

prarr ()

DEBUG.OFF

prarr ()

END





Code:
IF !count1 THEN CLS

why clearing an empty screen ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred