2015-05-12 13:46:37 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								USING:  debugger  editors  help  help.apropos  help.markup 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								help.syntax help.vocabs memory see stack-checker
							 
						 
					
						
							
								
									
										
										
										
											2016-05-10 00:34:31 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								tools.destructors tools.time ;
 
							 
						 
					
						
							
								
									
										
										
										
											2009-03-24 05:11:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								IN:  help.tips 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "To look at the most recent error, run "  { $link :error } ". To look at the most recent error's callstack, run "  { $link :c } "."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "Learn to use "  { $link "dataflow-combinators"  } "."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "Learn to use "  { $link "editor"  } " to be able to jump to the source code for word definitions from the listener."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "Check out "  { $url "http://concatenative.org/wiki/view/Factor/FAQ"  } " to get answers to frequently-asked questions."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "Drop by the "  { $snippet "#concatenative"  } " IRC channel on "  { $snippet "irc.freenode.net"  } " some time."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "You can write documentation for your own code using the "  { $link "help"  } "."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "You can write graphical applications using the "  { $link "ui"  } "."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-03-24 10:11:45 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TIP: "Power tools: "  { $links see edit help about apropos time infer. } ;
 
							 
						 
					
						
							
								
									
										
										
										
											2009-03-26 14:02:28 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "Tips of the day implement the "  { $link "definition-protocol"  } " and new tips of the day can be defined using the "  { $link POSTPONE:  TIP:  } " parsing word."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-06-17 07:10:04 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TIP: "Try some simple demo applications:"  { $code "\"demos\" run"  } "Then look at the source code in "  { $snippet "extra/"  } "."  ;
 
							 
						 
					
						
							
								
									
										
										
										
											2009-04-03 10:44:48 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TIP: "To save time on reloading big libraries such as the "  { $vocab-link "furnace"  } " web framework, save the image after loading them using the "  { $link save } " word."  ;
 
							 
						 
					
						
							
								
									
										
										
										
											2009-04-02 02:17:55 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-12 13:46:37 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TIP: "Use the "  { $link leaks. } " combinator to track down resource leaks."  ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-03-26 14:02:28 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								HELP:  TIP: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ $syntax "TIP: content ;"  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ $values { "content"  "a markup element"  } }
							 
						 
					
						
							
								
									
										
										
										
											2016-12-03 07:16:08 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $description "Defines a new tip of the day."  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ $examples
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  { $unchecked-example
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    "TIP: \"Factor is a fun programming language.\" ;" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} ;
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-12 13:46:37 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-03-24 05:11:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								ARTICLE: "all-tips-of-the-day"  "All tips of the day" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ $tips-of-the-day } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								ARTICLE: "tips-of-the-day"  "Tips of the day" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								"The "  { $vocab-link "help.tips"  } " vocabulary provides a facility for displaying tips of the day in the "  { $link "ui-listener"  } ". Tips are defined with a parsing word:" 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-01 15:56:36 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $subsections POSTPONE:  TIP:  }
							 
						 
					
						
							
								
									
										
										
										
											2009-03-24 05:11:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								"All tips defined so far:" 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-01 15:56:36 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $subsections "all-tips-of-the-day"  } ;
 
							 
						 
					
						
							
								
									
										
										
										
											2009-03-24 05:11:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-12 13:46:37 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								ABOUT: "tips-of-the-day"