]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/nehe/2/2.factor
Updating code to use CONSTANT: instead of : foo 123 ; inline
[factor.git] / extra / nehe / 2 / 2.factor
index 29d4ccffc1f17b832bfb19a197f679321dca4832..fdb53ef2541f2a7360d6c44d2b8f3be7394fa55f 100644 (file)
@@ -4,8 +4,8 @@ IN: nehe.2
 
 TUPLE: nehe2-gadget < gadget ;
 
-: width 256 ;
-: height 256 ;
+CONSTANT: width 256
+CONSTANT: height 256
 
 : <nehe2-gadget> (  -- gadget )
   nehe2-gadget new-gadget ;