answersLogoWhite

0

Sub has several possible applications, including a submarine, substitute, subscription or it may refer to lower positioning.

User Avatar

Wiki User

10y ago

What else can I help you with?

Continue Learning about Basic Math

Code exsample in visual basic convertion in cm to inches?

Private Sub cmdcm_Click() txtin.Text = val(txtcm.Text) * 0.393700787 End Sub ________________________________________________________________ Private Sub cmdin_Click() txtcm.Text = val(txtin.Text) * 2.54 End Sub


What is the difference between the base words super and sub?

Think of 'super' as over or above and 'sub' as under or below.


What is a sub programs in qbasic?

Sub programs allow you to break up one long program; into being a series of much smaller tasks; usually, controlled by a main program. Example... ==== As you can see from the above 2 examples; the 2nd example, although longer, creates code that is much clearer and simpler to read. Even non-programmers should be able to figure out what the 'Main Program' section is doing. NOTE: There are certain rules for the use of sub-routines. Such as the sub routine should confine itself to doing just 'one' task at a time. So, SUB clearScreen...does just 'one' job, alone...which is to (CL)ear the output (S)creen. It does NOT clear the screen AND get the user to input a number. This makes it quicker and easier to debug programs; as you know exactly where the code is going wrong; so, for example, if the screen didn't clear, properly...then, look at the Sub-routine called: SUB clearScreen. If the title didn't appear; then, look at the Sub-routine called: SUB printTitle. /-Etc.


What is the difference between sub net masking and default masking?

It is Almost same


How do you code a palindrome in VB?

Private Sub Command1_Click() string1 = Text1.Text string2 = StrReverse(string1) result = StrComp(string1, string2, vbTextCompare) If result = 0 Then MsgBox string2 & " is a palindrome..." Else MsgBox string1 & " is not a palindrome..." End If End Sub