Please find the .txt file attached. I have been trying to build a conceptual design program for slabs using RUBY for Sketchup and have been getting some syntax error messages as shown below. Please help somebody! thanks... Error Loading File slab.rb C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318: syntax error defaults4 = ['1. 0.05','1. 0.05','1. 0.05','1. 0.05'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318: syntax error defaults4 = ['1. 0.05','1. 0.05','1. 0.05','1. 0.05'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318: syntax error defaults4 = ['1. 0.05','1. 0.05','1. 0.05','1. 0.05'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318: syntax error defaults4 = ['1. 0.05','1. 0.05','1. 0.05','1. 0.05'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319: syntax error @kx_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320: syntax error @kx_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321: syntax error @ky_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322: syntax error @ky_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7. 0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 '] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:324: syntax error title4='Choose the lower closest value of corresponding 'K' as displayed in the messagebox earlier' ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:324: syntax error title4='Choose the lower closest value of corresponding 'K' as displayed in the messagebox earlier' ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:405: syntax error prompts5 = ['Span type'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:406: syntax error defaults5 = ['1. Simply supported'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407: syntax error @t_slab = ['1. Simply supported |2. Interior span |3. End span |4. Cantilever'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407: syntax error @t_slab = ['1. Simply supported |2. Interior span |3. End span |4. Cantilever'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407: syntax error @t_slab = ['1. Simply supported |2. Interior span |3. End span |4. Cantilever'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407: syntax error @t_slab = ['1. Simply supported |2. Interior span |3. End span |4. Cantilever'] ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409: syntax error title5='Please select the type of the span' ^ C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409: unterminated string meets end of file C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409: syntax error Attachments: http://www.ruby-forum.com/attachment/5132/Slab.txt -- Posted via http://www.ruby-forum.com/.