Which rules are to be kept in mind while writing program in small basic?
In computer
Fast its urgent
Many points
Answers
Answered by
13
The rules that are to be kept in mind while writing program in small basic are:
1. All keywords must be spelled correctly.
2. Small basic is not case sensitive but it is good practice to use standard case conventions.
3. Small basic ignores the whitespace. Use whitespace to make your code more readable for human eyes.
4. To set an object property use ‘dot’ convention:
ObjectName.PropertyName = PropertyValue
where ObjectName is the object, PropertyName the property and PropertyValue the value you want to establish
5. To invoke an object method, use this convention:
ObjectName.MethodName(MethodInputs)
where ObjectName is the object, MethodName the method and MethodInputs the inputs needed by the method.
Similar questions