diff --git a/Doc/Manual/Library.html b/Doc/Manual/Library.html index 285dfd000..83b1dcdae 100644 --- a/Doc/Manual/Library.html +++ b/Doc/Manual/Library.html @@ -420,11 +420,11 @@ Now, in a scripting language, you might write this:
-a = new_doubleArray(10)             # Create an array
+a = new_doubleArray(10)               # Create an array
 for i in range(0, 10):
-    doubleArray_setitem(a, i, 2*i)  # Set a value
-print_array(a)                      # Pass to C
-delete_doubleArray(a)               # Destroy array
+    doubleArray_setitem(a, i, 2 * i)  # Set a value
+print_array(a)                        # Pass to C
+delete_doubleArray(a)                 # Destroy array
 
@@ -487,7 +487,7 @@ Allows you to do this: import example c = example.doubleArray(10) # Create double[10] for i in range(0, 10): - c[i] = 2*i # Assign values + c[i] = 2 * i # Assign values example.print_array(c) # Pass to C @@ -1475,7 +1475,7 @@ In the target language:
 x = my_struct();
-x.foo="Hello World";      # assign with string
+x.foo = "Hello World";    # assign with string
 print x.foo;              # print as string