Click here to Skip to main content
15,900,110 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Closing a form from a class Pin
Dave Kreskowiak17-Nov-06 4:29
mveDave Kreskowiak17-Nov-06 4:29 
AnswerRe: Closing a form from a class Pin
Marco Turrini17-Nov-06 5:25
Marco Turrini17-Nov-06 5:25 
QuestionWhat is the difference between the declarations mean? Pin
ashwath197917-Nov-06 1:18
ashwath197917-Nov-06 1:18 
AnswerRe: What is the difference between the declarations mean? Pin
Dave Kreskowiak17-Nov-06 4:27
mveDave Kreskowiak17-Nov-06 4:27 
GeneralRe: What is the difference between the declarations mean? Pin
ashwath197919-Nov-06 18:40
ashwath197919-Nov-06 18:40 
GeneralRe: What is the difference between the declarations mean? Pin
ashwath197920-Nov-06 0:34
ashwath197920-Nov-06 0:34 
GeneralRe: What is the difference between the declarations mean? Pin
ashwath197920-Nov-06 0:35
ashwath197920-Nov-06 0:35 
QuestionWhat the function declaration mean? Pin
ashwath197916-Nov-06 20:24
ashwath197916-Nov-06 20:24 
Hi All,

Can anyone please tell me whats the meaning of function definition.

Function Definition:

Private Sub LoadArray(ByVal ParamArray CRCBytes() As Object)
Dim i As Short
For i = 0 To UBound(CRCBytes)
m_byteCRC8(i) = CRCBytes(i)
Next
End Sub

Function Call:

Call LoadArray(&H0S, &H9BS, &HADS, &H36S, &HC1S, &H5AS, &H6CS, &HF7S, &H19S, &H82S, &HB4S, &H2FS, &HD8S, &H43S, &H75S, &HEES, &H32S, &HA9S, &H9FS, &H4S, &HF3S, &H68S, &H5ES, &HC5S, &H2BS, &HB0S, &H86S, &H1DS, &HEAS, &H71S, &H47S, &HDCS, &H64S, &HFFS, &HC9S, &H52S, &HA5S, &H3ES, &H8S, &H93S, &H7DS, &HE6S, &HD0S, &H4BS, &HBCS, &H27S, &H11S, &H8AS, &H56S, &HCDS, &HFBS, &H60S, &H97S, &HCS, &H3AS, &HA1S, &H4FS, &HD4S, &HE2S, &H79S, &H8ES, &H15S, &H23S, &HB8S, &HC8S, &H53S, &H65S, &HFES, &H9S, &H92S, &HA4S, &H3FS, &HD1S, &H4AS, &H7CS, &HE7S, &H10S, &H8BS, &HBDS, &H26S, &HFAS, &H61S, &H57S, &HCCS, &H3BS, &HA0S, &H96S, &HDS, &HE3S, &H78S, &H4ES, &HD5S, &H22S, &HB9S, &H8FS, &H14S, &HACS, &H37S, &H1S, &H9AS, &H6DS, &HF6S, &HC0S, &H5BS, &HB5S, &H2ES, &H18S, &H83S, &H74S, &HEFS, &HD9S, &H42S, &H9ES, &H5S, &H33S, &HA8S, &H5FS, &HC4S, &HF2S, &H69S, &H87S, &H1CS, &H2AS, &HB1S, &H46S, &HDDS, &HEBS, &H70S, &HBS, &H90S, &HA6S, &H3DS, &HCAS, &H51S, &H67S, &HFCS, &H12S, &H89S, &HBFS, &H24S, &HD3S, &H48S, &H7ES, &HE5S, &H39S, &HA2S, &H94S, &HFS, &HF8S, &H63S, &H55S, &HCES, &H20S, &HBBS, &H8DS, &H16S, &HE1S, &H7AS, &H4CS, &HD7S, &H6FS, &HF4S, &HC2S, &H59S, &HAES, &H35S, &H3S, &H98S, &H76S, &HEDS, &HDBS, &H40S, &HB7S, &H2CS, &H1AS, &H81S, &H5DS, &HC6S, &HF0S, &H6BS, &H9CS, &H7S, &H31S, &HAAS, &H44S, &HDFS, &HE9S, &H72S, &H85S, &H1ES, &H28S, &HB3S, &HC3S, &H58S, &H6ES, &HF5S, &H2S, &H99S, &HAFS, &H34S, &HDAS, &H41S, &H77S, &HECS, &H1BS, &H80S, &HB6S, &H2DS, &HF1S, &H6AS, &H5CS, &HC7S, &H30S, &HABS, &H9DS, &H6S, &HE8S, &H73S, &H45S, &HDES, &H29S, &HB2S, &H84S, &H1FS, &HA7S, &H3CS, &HAS, &H91S, &H66S, &HFDS, &HCBS, &H50S, &HBES, &H25S, &H13S, &H88S, &H7FS, &HE4S, &HD2S, &H49S, &H95S, &HES, &H38S, &HA3S, &H54S, &HCFS, &HF9S, &H62S, &H8CS, &H17S, &H21S, &HBAS, &H4DS, &HD6S, &HE0S, &H7BS)

Why the function definition has only one parameter,but function call has many variables.



AnswerRe: What the function declaration mean? Pin
rico cheah16-Nov-06 20:47
rico cheah16-Nov-06 20:47 
GeneralRe: What the function declaration mean? Pin
ashwath197916-Nov-06 22:09
ashwath197916-Nov-06 22:09 
AnswerRe: What the function declaration mean? Pin
Guffa16-Nov-06 21:12
Guffa16-Nov-06 21:12 
GeneralRe: What the function declaration mean? Pin
ashwath197916-Nov-06 22:10
ashwath197916-Nov-06 22:10 
QuestionHow to make the packaging? Pin
rico cheah16-Nov-06 20:03
rico cheah16-Nov-06 20:03 
AnswerRe: How to make the packaging in VS.NET? Pin
Dave Sexton16-Nov-06 20:12
Dave Sexton16-Nov-06 20:12 
QuestionRe: How to make the packaging in VS.NET? [modified] Pin
rico cheah16-Nov-06 20:44
rico cheah16-Nov-06 20:44 
AnswerRe: How to make the packaging in VS.NET? Pin
Kevin Nicol17-Nov-06 1:33
Kevin Nicol17-Nov-06 1:33 
QuestionRe: How to make the packaging in VS.NET? Pin
rico cheah17-Nov-06 21:07
rico cheah17-Nov-06 21:07 
QuestionWhats the meaning of below declarations. Pin
ashwath197916-Nov-06 19:19
ashwath197916-Nov-06 19:19 
AnswerRe: Whats the meaning of below declarations. Pin
Guffa16-Nov-06 19:35
Guffa16-Nov-06 19:35 
GeneralRe: Whats the meaning of below declarations. Pin
ashwath197916-Nov-06 20:17
ashwath197916-Nov-06 20:17 
QuestionRichTextBox Pin
Socheat.Net16-Nov-06 16:42
Socheat.Net16-Nov-06 16:42 
AnswerRe: RichTextBox Pin
Zyndrof17-Nov-06 4:09
Zyndrof17-Nov-06 4:09 
QuestionSetting NTSC or PAL within a video capture program Pin
W.A. Dilhara16-Nov-06 16:36
W.A. Dilhara16-Nov-06 16:36 
AnswerRe: Setting NTSC or PAL within a video capture program Pin
Christian Graus16-Nov-06 21:55
protectorChristian Graus16-Nov-06 21:55 
QuestionIUnknown::Release(); in VB6 Pin
lafleon16-Nov-06 14:23
lafleon16-Nov-06 14:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.