le 28/07/02 14:45, Jay à jktr@... a écrit : >>> Be your own expert: read the Reference Manual entry on "compile >>> long if". >>> >>> Robert P. >> >> Tried that! >> Didn't give me a clue. >> >> That's why I'm asking the list, RP >> >> >> Pete... (the other one) > > I tried it, too, before my first reply. It suggested that COMPILE LONG IF > might not serve for what Pete wants to do, but gave no hint of how it > could be done, if at all. Are you looking at a later version of the > manual than we are? (R6) > What Pete wants to do would be easily doable with pseudo records since the compiler produces constants instead of true fields for the record. That can give us a possible workaround for true records: // unrem below to see the difference /* begin record totoRec dim x as int end record : _totoRec = Sizeof(totoRec) */ window 1 compile long if def _totoRec print "toto record is here" compile xelse print "no toto record for you" compile end if do handleevents until fn button