<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 25, 2010, at 6:00 AM, <a href="mailto:openbios-request@openbios.org">openbios-request@openbios.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Message: 2<br>Date: Fri, 24 Sep 2010 09:25:28 -0400<br>From: Tarl Neustaedter <<a href="mailto:tarl-b2@tarl.net">tarl-b2@tarl.net</a>><br>To: The OpenBIOS Mailinglist <<a href="mailto:openbios@openbios.org">openbios@openbios.org</a>><br>Subject: Re: [OpenBIOS] Help with some code<br>Message-ID: <<a href="mailto:4C9CA6C8.2050009@tarl.net">4C9CA6C8.2050009@tarl.net</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br> You should get in the habit of putting stack diagram comments on every line<span class="Apple-converted-space"> </span><br>of code - it will help you keep track of what you are playing with. By<span class="Apple-converted-space"> </span><br>convention, a stack diagram starting with $ indicates a addr,len string<span class="Apple-converted-space"> </span><br>pointer, which you should use in this code for clarity.<br><br>As best I can tell without stack diagrams, you are generating strings of the<span class="Apple-converted-space"> </span><br>form "foo: set-foo foo ! ; foo", and it's probably barfing on "foo:" . I'm not<span class="Apple-converted-space"> </span><br>sure what this is supposed to accomplish.<br></span></blockquote><div><br></div><div>What I'm trying to do is create a new word. The new word's name will be set-_variable_name_. What would be another way to create a new word inside another word? </div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br>Replace the "eval" with a "type" and you should be able to see what it's<span class="Apple-converted-space"> </span><br>generating.<br></span></blockquote><br></div><div>I tried your suggestion, but everything looked just fine. The problem shows up at compile-time. Using this code:</div><div><br></div><div>variable dog</div><div><br></div><div>: myword</div><div>4 -> dog</div><div>;</div><div><br></div><div><br></div><div>What the code should create at compile-time is this:</div><div><br></div><div>: myword</div><div>4 set-dog</div><div>;</div><div><br></div><div>but creates this instead</div><div><br></div><div>: myword</div><div>4 : set-dog</div><div>;</div><div><br></div><div>The problem is with the extra colon between the 4 and the set-dog word. I need a way to eliminate it from the myword word. Other times the compiler will say the word set-dog is undefined. Any clue how to fix this problem? </div><div><br></div><div><br></div></body></html>