WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-03-2008, 04:50 AM
dan12345 dan12345 is offline
Member
 
Join Date: Jan 2008
Posts: 58
small indentation question

for some reason, vizard started showing blue lines before a beginning of
lines of code, signifying wrong indentation, eventhough the indentation is OKAY.
This also causes the script not to run, with an indentation error.
in order to fix it, each time i have to backspace and then space to the
same position, and this usually fixes it.
Why did this start happening? how do i solve it?
thanks!
Reply With Quote
  #2  
Old 03-03-2008, 04:57 AM
mspusch mspusch is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 223
is it possible that you are mixing whitespace and tabs?
this would make the code look correct, but as python recognizes the difference between tabs and whitespace, this causes indentation errors.

to see what is going on, under the "view" menu, switch "whitespace" on.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
Another color question mjabon Vizard 4 07-31-2007 03:04 PM
question about yaw, pitch, roll TunTun Vizard 2 05-23-2007 12:46 PM
Units Question Plasma Vizard 4 02-24-2004 09:54 AM
Basic Joystick Navigation Question Plasma Vizard 2 01-29-2004 07:08 PM


All times are GMT -7. The time now is 06:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC