[OpenBIOS] help with compile/run-time code

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Sep 13 10:13:45 CEST 2010


Programmingkid wrote:

> I need a little help on how to take compile-time code and change it so that it executes a different set of code at run-time. I want to take this code: "4 -> cat" and change it to "4 cat !" at run-time. The "->" word needs to be able to do this. Would anyone know how? 
> 
> compile time:    4 -> cat
> run-time:	    4 cat !

In the context of local variables, would you be able to get away with 
parsing this as a string?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list