[OpenBIOS] Adding to a definition

Stephen Ehring stephen.ehring at oracle.com
Thu Mar 22 13:45:56 CET 2012


On Mar 22, 2012, at 1:29 AM, Tarl Neustaedter wrote:

> On 2012-Mar-22 00:09 , Programmingkid wrote:
>> Is there a way to add words to the end of a definition? If my word is declared like this:
>> 
>> : myword
>> 	firstWord
>> 	secondWord
>> ;
>> 
>> is there a way to append a word to the end of this word so it looks like this:
>> 
>> : myword
>> 	firstWord
>> 	secondWord	
>> 	thirdWord
>> ;
> 
> The usual way I'd do something like that if I had to patch a live system would be as follows:
> 
> ok : anotherWord secondWord thirdWord ;
> ok patch anotherWord secondWord myword
> ok
> 

You can also use (patch) with the XT's if the words are not externally visible.

Steve


More information about the OpenBIOS mailing list