answersLogoWhite

0


Best Answer

ZERO 0

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: An index must be a non-negative integer or an integer expression that results in a non-negative integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Write a program that counts by powers of 2 in visual basic?

TextBox1.Multiline = TrueDim amount As Integer = 200For index As Integer = 1 To amountTextBox1.Text = TextBox1.Text & " " & index ^ 2 & ","Next~Note: make sure you have a textbox called textbox 1


How do you create a number pad in visual basic 6 with programming that inserts the numbers into a textbox named txtKeycode?

Only one button needs to be created in the first place, with its caption set as whichever number between 0-9 that you want. After it has been set to the appropriate size, the button needs to be copied, so that the index property will appear. It would help to set the index to the same number as the caption, to avoid confusion. The code, as it turns out, is relatively simple: Private Sub Form_Load() Dim index As Integer End Sub Private sub cmdKeyPad_Click(index As Integer) txtKeycode.Text = txtKeycode.Text & cmdKeypad(index) End Sub


What is a Delphi unit?

A Delphi unit is a separate file used to store procedures and functions. If you know what a form is, a unit is exactly the same, except it has no visual interface. So you can't put windows controls on it like buttons and edit boxes. A form has windows controls and their associated code behind them, a unit only has the code. They are useful if you have some functions that you use often from many different forms and you only want to write them once. For example: function LeftStr(const S : String; Index : Integer) : String; begin If Index <= 0 then Result := '' else Result := Copy(S, 1, Index); end; function RightStr(const S : String; Index : Integer) : String; begin If Index > Length(S) then Result := '' else Result := Copy(S, Index, (Length(S)-Index+1)); end; Then you can have your unit's name in a forms uses clause and then use the functions LeftStr and RightStr from several different forms.


What is a zero based integer?

A zero based integer is a number that is either zero or a whole number. Zero based integers are usually used in programming computers with a binary code.


What is amplitude modulation derive expression for am wave and modulation index?

the maximum amplitude of carrier wave varied with respect to instantaneous values of message signal is called amplitude modulation