> Professor Hunter: > I want to know if there is a problem with the Bin2Oct function. > Specially the line > that reads: (ByVal BinaryNumber As String). Shouldn't the 'BinaryNumber' > be just "Number" instead? The parameter is meant to be called BinaryNumber. You will use BinaryNumber when you want to refer to this parameter ... other than that, it behaves exactly the same as the Number parameter used for the other functions. It just has a different name. > Also, I noticed that in tutorial, comments were given quite often in the > examples that TA showed us, so are we expected to use comments to explain > the purpose of each variable, and to explain the steps used to perform > the conversions in the program? You should also use comments for assignment 2. Comments should be used to explain each variable, and what each section of code in your function is doing. As mentioned during lecture, you do not need to comment every single line of code in your programs. Also, your comments should not explain the obvious. Part of your assignment 2 mark will be based on using good programming style. This includes... - using comments as explained above - choosing meaningful variable names - proper indentation - use of constants - whitespace - leave an occasional blank line to improve readability of the code (mainly before and after loops) - delclare all variables that you use A.L. Hunter andria@cdf.utoronto.ca