Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
OrbWorks Community Forum • View topic - Variables declared with a leading underscore

Variables declared with a leading underscore

Discuss PocketC for Palm OS (including Desktop Edition)

Postby eeaness on Fri Jul 09, 2004 1:37 pm

In the todo.c example there are a number of variables declared with a leading underscore (_). What is the significance of the underscore?

Thanks,
Ian (a newbie)
eeaness
 
Posts: 1
Joined: Mon Jun 14, 2004 3:55 pm
Location: United Kingdom

Postby dewey on Wed Jul 14, 2004 2:59 am

There is nothing special about the underscore - it is just another legal idetifier character. todoStruct and the following 5 variables are the memory that the todo will be read into. The 5 _ variables are never referenced directly. See main for how todoStruct (and indirectly these other variables) are used.
dewey
Site Admin
 
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 1 guest

cron