delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/01/00:16:31

From: "Oren Marciano" <o_marciano AT ibm DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: I have a question for Allegro. I really hope someonce can answer it!!!!
Date: Sat, 28 Feb 1998 23:55:57 -0500
Lines: 18
NNTP-Posting-Host: 32.100.112.5
Message-ID: <34f8ea8c.0@news1.ibm.net>
Organization: IBM.NET
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

What does this code actually do:

 xgrid = MID(1, atoi(griddle_xgrid), 0xFFFF);

xgrid is an int
griddle_xgrid is a char

what is MID, what is atoi, why is the last parimater 0xFFFF

This is taken from the Allegro Grabber code.

If anyone can answer this I would appreciate it.






- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019