Go to Post I would much rather educate the audience than dumb-down the game. - dlavery [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 23-06-2002, 22:57
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Strongly typed?

Posted by Joe Johnson at 1/15/2001 7:00 AM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: Re: Programming question
Posted by Matt Leese on 1/14/2001 11:56 PM EST:



Matt, what PBASIC are YOU programming in? I am not a programmer by training so I may be all wet here, but I don't think that PBASIC meets the definition of a strongly typed language.

As to what will happen if you set a variable that is not as wide as the thing you are setting it equal to, the sad truth is that everything to the left of the bits PBASIC needs is ignored!

SO...
X VAR nib
X = 16 'FYI 16 is 0001000 in binary
' X will be set to 0 because the right 4 bits are 0000

Joe J.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Communications via the Programming Port Larry Barello Technical Discussion 9 10-06-2003 23:33
my idea of a question forum... Ken Leung General Forum 12 30-11-2002 12:17
MnM EASY Question of the Day Winners! Mike Bonham General Forum 22 03-05-2002 21:21
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59
pbasic programming punarhero Programming 4 21-01-2002 23:32


All times are GMT -5. The time now is 23:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi