Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: is this a bug?

From: brett:codeconscious at: 11-Apr-2001 18:37

Anton has shown how it will work. In your new example you have the comment "tab 40 spaces below field 1" which suggests that you believe a TAB generates space from the current position which is the bit that is confusing for you. Tab does use the current position to calculate the next but not by generating space.. TAB is like a "snap-to-grid" option in a graphics program. That is what "TAB skips forward in the current direction (across or below) to the next tab position." means. The positions are pre-defined. TABS 40 sets up a grid of tab positions. When you use TAB it calculates that next position and places your next element at that point. This is why you must use TAB on your first field if your first field is not already at the correct location. The only thing is that that there is no Tab-zero (unfortunately). VID it goes from Tab-one up. Hope that clear it up! Brett.