CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

duhhh

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
eriemiller
Guest







duhhh
PostPosted: Sun Jun 20, 2004 11:21 am     Reply with quote

where does ccs describe get_long()?
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Sun Jun 20, 2004 5:04 pm     Reply with quote

I don't think there is a function with that name in CCS.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 20, 2004 6:08 pm     Reply with quote

Quote:
I don't think there is a function with that name in CCS.
There is, but it's an accessory function in INPUT.C
(Found in c:\Program Files\Picc\Drivers)

I don't know whether he just wanted the above information
or an explanation of how to use it.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Sun Jun 20, 2004 6:39 pm     Reply with quote

If you want information on how to use it, as PCM Programmer said take a look in the INPUT.C file.
You have to call it with no arguments. It reads string from the serial port (up to 7 caharacters) with echo, converts it to long and returns it. Here is the prototype:

signed long get_long();
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group