Changes

348 bytes added ,  02:37, 24 February 2011
Line 717: Line 717:     
===Version ?? onwards===
 
===Version ?? onwards===
A number of different sample programs are provided. Using them is a 2 step process. First copy the sample to the Journal, then load the Python block. Click the Load Python Block button [[File:Loadpythonsamples.jpg]] and a file selector dialog box appears.
+
A number of different sample programs are provided. Using a provided sample is a 2 step process. First copy the sample to the Journal, then load the Python block. Click the Load Python Block button [[File:Loadpythonsamples.jpg]] and a file selector dialog box appears.
    
[[File:Pythonsampleselector.jpg]]
 
[[File:Pythonsampleselector.jpg]]
    
Select the sample that you want and it will be copied to the journal. Now different Python blocks can have different code loaded in them. Click on a Python block and an object selector dialog will open.
 
Select the sample that you want and it will be copied to the journal. Now different Python blocks can have different code loaded in them. Click on a Python block and an object selector dialog will open.
 +
 +
[[File:Pythonobjectselector.jpg]]
 +
 +
Select the Python code that that you want and the code will be loaded into that block. Different blocks can have different code loaded into them. You can't run a Python block by clicking on it, that opens the object selector, instead click on a block above the Python block to run the Python block.
    
===Sample code===
 
===Sample code===
2,486

edits