setsystemval

Graeme Martin G.Martin@cchs.usyd.edu.au
Mon, 03 Dec 2001 10:05:31 +1100


Greetings ;

Vs 823d in quiz  the following code has me scratchin my noggin !!

def yr char*2 = ascii(sysdate)[3:2]
def x  = 1 if setsystemval("YR",yr)
def cc char*2 = getsystemval("YR")
cho courseyr systemvalue"YR"


I'm expecting "01" as the systemvalue in choose but hmmm doesn't seem to 
like that ;

Any help appreciated !!